|
MonteCarloIntegrationIntegrate Method (FuncDouble, Double, Double, Double, Int32)
|
Computes the area of the function under the selected
Range.
The computed value will be available at this object's
Area.
Namespace:
Accord.Math.Integration
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double Integrate(
Func<double[], double> func,
double[] a,
double[] b,
int samples
)
Public Shared Function Integrate (
func As Func(Of Double(), Double),
a As Double(),
b As Double(),
samples As Integer
) As Double
Request Example
View SourceParameters
- func
- Type: SystemFuncDouble, Double
- a
- Type: SystemDouble
- b
- Type: SystemDouble
- samples
- Type: SystemInt32
Return Value
Type:
Double
True if the integration method succeeds, false otherwise.
See Also