Numerical Integrator.Integrate Method
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Integrate() | Numerically integrates a function of one variable. |
Integrate( | Numerically integrates a function of one variable. |
Integrate( | Numerically integrates a function of one variable. |
Integrate( | Numerically integrates a function of one variable. |
Integrate( | Numerically integrates a function of one variable. |
Integrate( | Numerically integrates a function of one variable. |
Integrate
public double Integrate()
Return Value
DoubleAn approximation of the definite integral for the integrator's current Integrand between LowerBound and UpperBound. .
Remarks
This method performs the actual numerical integration using the Integrand and integration interval specified by the LowerBound and UpperBound properties. After this method returns, inspect the Status property to verify that the algorithm terminated normally.
Integrate(ParallelOptions)
public double Integrate(
ParallelOptions parallelOptions
)
Parameters
- parallelOptions ParallelOptions
- The configuration for the parallel behavior of the integration.
Return Value
DoubleAn approximation of the definite integral for the integrator's current Integrand between LowerBound and UpperBound. .
Remarks
This method performs the actual numerical integration using the Integrand and integration interval specified by the LowerBound and UpperBound properties. After this method returns, inspect the Status property to verify that the algorithm terminated normally.
Integrate(Double, Double)
public double Integrate(
double lowerBound,
double upperBound
)
Parameters
- lowerBound Double
- The lower limit of the integration interval.
- upperBound Double
- The upper limit of the integration interval.
Return Value
DoubleAn approximation of the definite integral of the Integrand from lowerBound to upperBound.
Remarks
This method performs the actual numerical integration. After this method returns, inspect the Status property to verify that the algorithm terminated normally.
Integrate(Double, Double, ParallelOptions)
public double Integrate(
double lowerBound,
double upperBound,
ParallelOptions parallelOptions
)
Parameters
- lowerBound Double
- The lower limit of the integration interval.
- upperBound Double
- The upper limit of the integration interval.
- parallelOptions ParallelOptions
- The configuration for the parallel behavior of the integration.
Return Value
DoubleAn approximation of the definite integral of the Integrand from lowerBound to upperBound.
Remarks
This method performs the actual numerical integration. After this method returns, inspect the Status property to verify that the algorithm terminated normally.
Integrate(Func<Double, Double>, Double, Double)
public double Integrate(
Func<double, double> integrand,
double lowerBound,
double upperBound
)
Parameters
- integrand Func<Double, Double>
- A delegate that represents a function of one variable that specifies the function to integrate.
- lowerBound Double
- The lower limit of the integration interval.
- upperBound Double
- The upper limit of the integration interval.
Return Value
DoubleAn approximation of the definite integral of integrand from lowerBound to upperBound.
Remarks
This method performs the actual numerical integration. After this method returns, inspect the Status property to verify that the algorithm terminated normally.
Integrate(Func<Double, Double>, Double, Double, ParallelOptions)
public double Integrate(
Func<double, double> integrand,
double lowerBound,
double upperBound,
ParallelOptions parallelOptions
)
Parameters
- integrand Func<Double, Double>
- A delegate that represents a function of one variable that specifies the function to integrate.
- lowerBound Double
- The lower limit of the integration interval.
- upperBound Double
- The upper limit of the integration interval.
- parallelOptions ParallelOptions
- The configuration for the parallel behavior of the integration.
Return Value
DoubleAn approximation of the definite integral of integrand from lowerBound to upperBound.
Remarks
This method performs the actual numerical integration. After this method returns, inspect the Status property to verify that the algorithm terminated normally.