TSparseMtx.MulRight Method

Overload List

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

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

Multiply the sparse matrix from right.

#NameTypeDescription
1XTMtxsource TMtx
2YTMtxsource TMtx

Result: stored in self (calling object)

Remarks:

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

Examples
Matrix a,b;
TMtxSparse *aSparse = new TMtxSparse();
aSparse->MulRight(a,b); // result is stored in b
delete aSparse;
var a,b: Matrix;
    ASparse: TMtxSparse;
//multiply sparse and dense matrix
ASparse.MulRight(a,b);
// result is stored in matrix b
See Also: TSparseMtx.MulLeft, TSparseMtx.MulLeft

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

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

#NameTypeDescription
1XTVecsource TVec
2YTVecsource TVec

Result: stored in self (calling object)