TSparseMtx.MulLeft Method

Overload List

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

Overload 1: void MulLeft(TMtx X, TMtx Y)

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
Matrix a= new Matrix(3,2);
Matrix b =  new Matrix(2,3);
TMtxSparse aSparse = new TMtxSparse();
aSparse.MulLeft(a,b); // result is stored in b
See Also: TSparseMtx.MulRight

Overload 2: void MulLeft(TVec X, TVec Y)

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)