Click or drag to resize
Accord.NET (logo)

TrapezoidalRule Constructor (Int32, FuncDouble, Double)

Constructs a new TrapezoidalRule integration method.

Namespace:  Accord.Math.Integration
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public TrapezoidalRule(
	int steps,
	Func<double, double> function
)
Request Example View Source

Parameters

steps
Type: SystemInt32
The number of steps into which the integration interval will be divided.
function
Type: SystemFuncDouble, Double
The unidimensional function whose integral should be computed.
See Also