TSparseMtx.MulI Method

Overload List

#SignatureDescription
1function MulI: TMtxVec; overload;Multiply elements by imaginary unit I.
└ indexed: function MulI(Index: integer; Len: integer): TMtxVec; overload;
2function MulI(const X: TMtxVec): TMtxVec; overload;Multiply X elements with I and store the result in the calling object.
└ indexed: function MulI(const X: TMtxVec; XIndex: integer; Index: integer; Len: integer): TMtxVec; overload;

Overload 1: function MulI: TMtxVec; overload;

Multiply elements by imaginary unit I.

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

Indexed: function MulI(Index: integer; Len: integer): TMtxVec; overload;

Multipy calling object elements [Index]..[Index+Len-1] with I in-place.

#NameTypeDescription
1Indexintegerstart index
2Lenintegerelement count

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

Overload 2: function MulI(const X: TMtxVec): TMtxVec; overload;

Multiply X elements with I and store the result in the calling object.

#NameTypeDescription
1XTMtxVecsource TVec or TMtx

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

Indexed: function MulI(const X: TMtxVec; XIndex: integer; Index: integer; Len: integer): TMtxVec; overload;

Multipy X elements [XIndex]..[XIndex+Len-1] with I.

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2XIndexintegerX start index
3Indexintegerstart index
4Lenintegerelement count

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

Remarks:

Xtore the result in the calling object at locations [Index]..[Index+Len-1].