You are here: Symbol Reference > Sparse Namespace > Classes > TSparseMtx Class > public > MulRight Method > TSparseMtx.MulRight Method (TMtx, TMtx)
MtxVec VCL
ContentsIndex
PreviousUpNext
TSparseMtx.MulRight Method (TMtx, TMtx)

Multiply the sparse matrix from right.

Pascal
procedure MulRight(const X: TMtx; const Y: TMtx); overload;

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

var a,b: Matrix; ASparse: TMtxSparse; //multiply sparse and dense matrix ASparse.MulRight(a,b); // result is stored in matrix b
Matrix a,b; TMtxSparse *aSparse = new TMtxSparse(); aSparse->MulRight(a,b); // result is stored in b delete aSparse;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!