 | DiscreteDataIntegratorIntegrate Method (DoubleVector, DoubleVector, Double, Double) |
Return the approximate integral of the discrete data.
Namespace:
CenterSpace.NMath.Core
Assembly:
NMath (in NMath.dll) Version: 7.3
Syntaxpublic double Integrate(
DoubleVector x,
DoubleVector y,
double yStartPrime = 0,
double yEndPrime = 0
)
Public Function Integrate (
x As DoubleVector,
y As DoubleVector,
Optional yStartPrime As Double = 0,
Optional yEndPrime As Double = 0
) As Double
public:
double Integrate(
DoubleVector^ x,
DoubleVector^ y,
double yStartPrime = 0,
double yEndPrime = 0
)
member Integrate :
x : DoubleVector *
y : DoubleVector *
?yStartPrime : float *
?yEndPrime : float
(* Defaults:
let _yStartPrime = defaultArg yStartPrime 0
let _yEndPrime = defaultArg yEndPrime 0
*)
-> float
Parameters
- x
- Type: CenterSpace.NMath.CoreDoubleVector
The times or positions of the sampled signal. - y
- Type: CenterSpace.NMath.CoreDoubleVector
The sampled data values. - yStartPrime (Optional)
- Type: SystemDouble
The first derivative estimate at the first sample. Used only by the CubicSpline method. - yEndPrime (Optional)
- Type: SystemDouble
The first derivative estimate at the last sample. Used only by the CubicSpline method.
Return Value
Type:
DoubleArea summation under discrete data.
Exceptions
See Also