.IBPSA.Utilities.Math.Functions.trapezoidalIntegration

Information

This function computes a definite integral using the trapezoidal rule.

Interface

function trapezoidalIntegration
  extends Modelica.Icons.Function;
  input Integer N "Number of integrand points";
  input Real[:] f "Integrands";
  input Real deltaX "Width of interval for Trapezoidal integration";
  output Real result "Result";
end trapezoidalIntegration;

Revisions


Generated at 2024-12-27T19:26:12Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos