TSparseMtx.MulLeft Method

Overload List

#SignatureDescription
1procedure MulLeft(const X, Y: TMtx); overload;Multiply the sparse matrix from left.
2procedure MulLeft(const X, Y: TVec); overload;Multiply sparse matrix from left with vector X and place the result in vector Y.

Overload 1: procedure MulLeft(const X, Y: TMtx); overload;

Multiply the sparse matrix from left.

#NameTypeDescription
1XTMtxsource TMtx
2YTMtxsource TMtx

Result: stored in self (calling object)

Remarks:

Multiply calling sparse matrix from left with dense matrix X and place the result in dense matrix Y.

Examples
var a,b: Matrix;
    ASparse: TMtxSparse;

//multiply sparse and dense matrix
ASparse.MulLeft(a,b);
// result is stored in matrix b
See Also: TSparseMtx.MulRight, TSparseMtx.MulRight

Overload 2: procedure MulLeft(const X, Y: TVec); overload;

Multiply sparse matrix from left with vector X and place the result in vector Y.

#NameTypeDescription
1XTVecsource TVec
2YTVecsource TVec

Result: stored in self (calling object)