ProductName  

The Matrix object represents matrices with real number elements. The following tables list all of its properties and methods.

Properties

AsArray Returns / sets all elements of a matrix object to / from an array.
Cols Sets / returns the number of matrix columns.
IsSquare Returns True if matrix object is a square matrix otherwise returns False.
Item Returns / sets a single element of the current matrix.
MaxSize Indicates the maximum number of columns or rows of the matrix object.
Rows Sets / returns the number of matrix rows.
Version Returns a string indicating the Matrix ActiveX Component version and edition.

Methods

Cholesky Performs Cholesky decomposition of the current matrix object.
Clear Zeroes all matrix elements.
Clone Creates a duplicate matrix object from an existing matrix object.
ColCorrelation Returns the correlation coefficient between two columns of the current matrix.
ColCovariance Returns the covariance between two columns of the current matrix.
ColsDotProduct Returns the dot product between two columns of the current matrix.
ColSum Returns the sum of the elements of the specified column.
ColVector  Returns a one-column matrix (vertical vector) using one column of the current matrix object.
CorrelationMatrix Returns a matrix containing the correlation coefficients of the columns of the current matrix.
CovarianceMatrix Returns a matrix containing the covariance between  the columns of the current matrix.
Determinant Returns the value of the computed matrix determinant.
Eigen Finds the real and the imaginary parts of the Eigenvalues and the Eigenvectors of the current matrix object.
EigenC Finds the complex Eigenvalues and Eigenvectors of the current matrix object.
FillRandom Fills the matrix with random values.
GetString Returns a formatted string displaying all matrix elements.
Inverse Creates the inverse of a matrix and returns a reference to it.
IsEqualTo  Returns True if all elements of the matrix object are equal to elements of the matrix to which it is compared. Otherwise returns False.
IsSymmetric Returns True if matrix is a symmetric matrix otherwise returns False.
LU Performs LU Decomposition of the current matrix object. 
Merge Merges current matrix with another and returns the result.
Minus Creates a new matrix object that represents the result of the subtraction of another matrix from the current matrix object.
MinusEquals Subtracts another matrix from the current matrix object.
Norm Returns the specified matrix norm.
NormalizeColumns Normalizes columns of the current matrix according to the specified mode.
Normalize Creates a normalized matrix out of the current matrix and returns a reference to it.
NormalizeMe Normalizes the current matrix.
NormalizeRows Normalizes the rows of the current matrix according to the specified mode.
Plus Creates a new matrix object that represents the result of the addition of another matrix to current matrix object.
PlusEquals Adds another matrix to current matrix.
QR Performs QR decomposition of the current matrix object.
ReorderCols, ReorderRows Rearranges the columns or rows of the current matrix object according to a permutation index.
RowsDotProduct Returns the dot product between two rows of the current matrix.
RowSum Returns the sum of the elements of the specified row.
RowVector Returns an one-row matrix (horizontal vector) using one row of current matrix object.
Size Simultaneously sets both the number of rows and the columns of the current  matrix object.
Solve, SolveGauss Solves a system of linear equations.
SortCols, SortRows Sorts the columns or rows of the current matrix object.
SubMatrix Returns a new matrix that contains a subset of the current matrix.
SVD Performs Singular Value Decomposition of the current matrix object. Matrix decomposes to the product of UxSxVT.
Swap Cols, SwapRows Swaps two matrix columns or rows.
Times Returns a new matrix object that represents the result of the multiplication of the current matrix by another matrix.
TimesScalar Returns a new matrix object that represents the result of current matrix's scalar multiplication by a numeric value.
ToCMatrix Returns a new CMatrix object out of the current Matrix object.
Trace Returns the sum of the diagonal elements.
Transpose Creates a new matrix object that represents the result of the current matrix transpose.

See Also

CMatrix Object Properties and Methods