| DiscreteDataIntegratorIntegrate(DoubleVector, Double, Double) Method |
Returns the approximate integral of the discrete data assuming unit sample intervals.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public double Integrate(
DoubleVector y,
double yStartPrime = 0,
double yEndPrime = 0
)
Public Function Integrate (
y As DoubleVector,
Optional yStartPrime As Double = 0,
Optional yEndPrime As Double = 0
) As Double
public:
double Integrate(
DoubleVector^ y,
double yStartPrime = 0,
double yEndPrime = 0
)
member Integrate :
y : DoubleVector *
?yStartPrime : float *
?yEndPrime : float
(* Defaults:
let _yStartPrime = defaultArg yStartPrime 0
let _yEndPrime = defaultArg yEndPrime 0
*)
-> float
Parameters
- y DoubleVector
- The equally spaced sampled values.
- yStartPrime Double (Optional)
- The first derivative estimate at the first sample. Used only by the CubicSpline method.
- yEndPrime Double (Optional)
- The first derivative estimate at the last sample. Used only by the CubicSpline method.
Return Value
DoubleArea summation under discrete data.
See Also