Skip to main content

TSparseMTx object function list

TSparseMtx object

All listed functions support: real and complex numbers (where appropriate). Most functions are overloaded, to minimize the number of parameters required.

The class is derived from TMtxVec.

For comprehensive help file please see the online documentation of MtxVec for Delphi/C++ Builder or MtxVec for Visual Studio .NET

Introduced Methods

FunctionDescription
AddSums two sparse matrices (A+B).
AddSplitConstruct sparse matrxix by summing lower, upper triangluar part and the diagonal.
AdjungAdjungate operation.
Assign
BandedToSparseConverts banded matrix to modified compressed column sparse matrix format.
ConjMulConjugate Sparse2 and matrix multiply it with Sparse1.
DenseToSparseConvert dense matrix to sparse matrix format.
DiagSets the kk-th diagonal of TSparseMtx from the Vec object.
DiagonalsCountCalculates the number of diagonals above and below main diagonal.
DivideElemDivide individual elements of sparse matrices.
EqualCompares two sparse matrices.
FreeNumericFrees the numeric object used by the Umfpack.
InvThe inverse matrix.
IsEqualSizeCompares matrix size.
LoadFromMatrixMarketFileLoads the matrix stored in a matrix market file format.
LowerTriangleExtract lower part of the Mtx.
MaxMaximum of all non-zero elements.
MaxcMaximum of all non-zero complex elements.
MeanAverage of all non-zero elements.
MeancAverage of all non-zero complex elements.
MinMinimum of all non-zero elements.
MincMinimum of all non-zero complex elements.
MulMultiply two sparse matrices (matrix multiplication).
MulLeftMultiply the sparse matrix from left.
MulRightMultiply the sparse matrix from right.
PixelDownSampleReduces dense matrix for screen display (bitmap) to show the non-zero pattern.
RandomSparseCreates quadratic non-complex non-singular sparse matrix.
ResidualNormThe residual norm of the solution of the system of linear equations A*X=B.
ResizeResizes the sparse matrix to a new number of non-zeros.
RMSRoot mean squared of all non-zero elements.
SaveToMatrixMarketFileSaves the matrix in matrix market file format.
SizeDefine the size of sparse matrix.
SolveDirect solve.
SolveIterativeSolve the system A*X = B by using one of the iterative methods.
SparseToBandedConvert sparse matrix to banded matrix.
SparseToDenseConvert sparse matrix to banded matrix.
SparseToTripletsConvert sparse matrix to triplets.
SplitSplit sparse matrix into lower triangle, main diagonal and upper triangle.
StringsToValuesConvert strings to specific matrix format.
StructurizeSymmetricRequired by Pardiso solver to solve for general matrices.
SubSubract two sparse matrices.
TranspTranspose sparse matrix.
TripletsToSparseConvert triplets to sparse format.
TripletsToSparseAndFlushConstruct a sparse matrix by specifying the position of each element in dense matrix.
UpperTriangleExtract upper part of the Mtx.
ValuesToStringsConvert matrix values to strings.
ZeroThreshReduces the number of non-zeros.