Vector.Integrate Method

Overload List

#SignatureDescription
1function Integrate(const Init: TVec): TVec;Integrate calling vector values.
2function Integrate(const Vec: TVec; const Init: TVec): TVec;Integrate all Vec elements using initial values in Init and store the results in calling vector.

Overload 1: function Integrate(const Init: TVec): TVec;

Integrate calling vector values.

#NameDescription
1InitDefinies initial values for integration. Size of Init vector determines how many times calling vector values will be integrated.

Result: stored in self (calling object), returns self for chaining

Remarks:

Perform d-times integration of calling vector values, where d is equal to Init length.

Overload 2: function Integrate(const Vec: TVec; const Init: TVec): TVec;

Integrate all Vec elements using initial values in Init and store the results in calling vector.

#NameTypeDescription
1VecTVec
2InitTVec

Result: stored in self (calling object), returns self for chaining

Remarks:

Vector.Length and Vector.Complex properties of the calling vector are set implicitly the size and type of the result.