| DiscreteDataIntegratorIntegrate(DoubleVector, DoubleVector, Int32, Int32, Double, Double) Method |
Return the approximate integral of the discrete data.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public double Integrate(
DoubleVector x,
DoubleVector y,
int startIndex,
int endIndex,
double yStartPrime = 0,
double yEndPrime = 0
)
Public Function Integrate (
x As DoubleVector,
y As DoubleVector,
startIndex As Integer,
endIndex As Integer,
Optional yStartPrime As Double = 0,
Optional yEndPrime As Double = 0
) As Double
public:
double Integrate(
DoubleVector^ x,
DoubleVector^ y,
int startIndex,
int endIndex,
double yStartPrime = 0,
double yEndPrime = 0
)
member Integrate :
x : DoubleVector *
y : DoubleVector *
startIndex : int *
endIndex : int *
?yStartPrime : float *
?yEndPrime : float
(* Defaults:
let _yStartPrime = defaultArg yStartPrime 0
let _yEndPrime = defaultArg yEndPrime 0
*)
-> float
Parameters
- x DoubleVector
- The times or positions of the sampled signal.
- y DoubleVector
- The sampled data values.
- startIndex Int32
- Integration will start on this index.
- endIndex Int32
- Integration will end on this index.
- 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.
Exceptions See Also