Skip to main content

TMtx object function list

TMtx 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 TDenseMtxVec.

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

Introduced Methods

FunctionDescription
AddTensorProdCalculates the tensor product of two vectors and adds the result to the calling matrix.
AdjungAdjungate matrix.
BandedToDenseConvert banded matrix to dense.
CholeskyTest if the matrix is semi positive definite.
ColExchangeExchange matrix columns.
ConcatConcatenate an array of matrices to single matrix.
ConcatHorzConcenates an array of matrices horizontally.
ConcatVertConcenates an array of matrices vertically.
ConvolvePerforms finite, linear convolution of two two-dimensional signals.
CopyCopies the matrix.
CopyFromArrayCopies the matrix from a 2D array.
CopyToArrayCopies matrix values to a 2D array.
CopyVecCopies values from vector to a matrix.
CreateCreate a new TMtx object.
CreateFromCacheObtain a pointer to a matrix from object cache.
CumSumCumulative sum for each of the matrix columns.
DenseToBandedConvert dense matrix to banded.
DetectMtxTypeDetermines type of the matrix.
DeterminantDeterminant of squared matrix.
DiagSets the matrix diagonal to values from the vector.
EigCalculates matrix eigenvalues and eigenvectors.
EigGenPerforms the reduction of the symmetric-definite generalized eigenvalues/eigenvectors problem to the normal eigenvalue case.
EqualCompares two matrices.
EyeConstructs an eye matrix.
FFT1DForward parallel in-place 1D FFT.
FFT1DFromRealForward parallel in-place 1D FFT from real to complex.
FFT2DForward two-dimentional Fast Fourier Transformation from real/complex to complex.
FFT2DFromRealForward two-dimentional Fast Fourier Transformation for real numbers.
FlipHorFlips the matrix elements horizontally.
FlipVerFlips the matrix elements vertically Flip calling matrix elements vertically - element [j, col] = element [Rows-j, col].
FreeMemory
IFFT1DInverse parallel in-place 1D FFT.
IFFT1DToRealInverse parallel in-place 1D FFT from complex to real.
IFFT2DInverse two-dimentional Fast Fourier Transformation from complex to complex.
IFFT2DToRealInverse two-dimentional Fast Fourier Transformation from complex to real.
InvCalculates matrix inverse (Mtx^-1).
InvElemThe inverse of matrix elements.
KronThe Kronecker product between two vectors.
LowerTriangleConstructs lower triangular matrix.
LQRQR or LQ factorization.
LQRSolveSolve overdetermined or underdetermined system of real linear equations.
LUGeneral LU, Cholesky or Bunch-Kaufmann factorization.
LUSolveSolves system of linear equations by using LU factorization.
MeanColsCalculates the mean value of each of the matrix columns.
MeanRowsCalculates the mean value of each of the matrix rows.
MtxFunctionCompute matrix function as a function of another matrix.
MtxIntPowerCalculates the matrix to integer power.
MtxPowerCalculates the matrix to any power, real or integer.
MtxSqrtCalculates the square root of the matrix.
MulMatrix multiplication.
MulElemMatrix array multiplication.
Norm1Calculates the matrix norm-1.
NormFroCalculates the matrix Frobenius norm.
NormInfCalculates the matrix infinity norm.
PasclConstructs a Pascal matrix.
PCValuesReturns a pointer to the complex value stored at Row and Col.
PixelDownSampleCreates a reduced size dense matrix for screen display (bitmap) to show the matrix pattern.
PowerMtxRaises matrix elements to any power.
PValuesReturns a pointer to the real value stored at Row and Col.
ResizeResizes the matrix, while preserving the values in already allocated memory.
ResizeAndTransposeResize and transpose.
Rotate90Rotates matrix rows 90 degrees clockwise.
RowExchangeExchanges two matrix rows.
SaveToMatrixMarketFileSaves matrix data to MatrixMarket ASCII file format.
SetColCopies values from vector to matrix column.
SetItSets matrix values.
SetRowCopies values from vector to matrix row.
SetValInitializes matrix values to Value.
SetZeroInitializes matrix values to zero.
SizeSets the size of matrix.
SizeFromArraySizes the calling matrix to match the size of the array.
SizeToArraySizes the Dst array to match the matrix.
SortAscendSorts the elements in a matrix row(s) in ascending order.
SortDescendSorts the elements in a matrix row(s) in descending order.
SplitSplits matrix in blocks.
StringsToValuesConvert strings to TSample (TCplx) and store them in the Values array.
SumColsCalculates the sum of each of the calling matrix columns.
SumRowsCalculates the sum of each of the calling matrix rows.
SVDSingular value decomposition.
SVDSolveCalculates the minimum norm solution to a real linear least squares problem.
SylvesterSolves the Sylvester equation.
TensorProdCalculates the tensor product of two vectors.
ToeplitzConstructs a Toeplitz matrix.
TraceMatrix trace.
TranspTransposes matrix.
UpperTriangleConstructs upper triangular matrix.
ValuesToStringsConverts the content of the matrix Values array to a list of strings.
VanderMondeConstruct VanderMonde matrix