TVec.Integrate Method

Overload List

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

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

Integrate calling vector values.

#NameDescription
1aInitDefinies 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; aInit: TVec): TVec;

Integrate all Vec elements using initial values in Init.

#NameTypeDescription
1VecTVec
2aInitTVecsource TVec

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

Remarks:

Store the results in calling vector. TMtxVecBase.Length and TMtxVec.Complex properties of the calling vector are set implicitly the size and type of the result.