Table 1 Small matrix toolbox function

Toolbox Function                  Purpose
-------------------------------------------------------------------
M = mat_fill(M, type)             Fill a matrix
MatCol (M)                        Tell how many columns
MatRow(M)                         Tell how many rows
M = mat_colcopy1(M1, M2, j1, j2)  Copy columns between matrices
M = mat_copy(M )                  Duplicate a matrix
fgetmat(M, fileptr)               Read matrix from an open file
M = mat_dump(M)                   Write matrix to stdout or file
M = mat_add(M1, M2)               M = M1 + M2
M = mat_mul(M1, M2)               M = M1 * M2
M = mat_inv(M)                    Compute inverse matrix
M = mat_tran(M)                   Find the transpose of matrix
M = mat_submat(M, i, j)           Create a submatrix by deleting
                                  row,col
mat_cofact(M, i, j)               Return cofactor of matrix[i,j]
mat_minor(M, i, j)                Return minor of matrix[i,j]
mat_det (M)                       Return determinant of matrix
M = mat_lsolve(M1, M2)            Solve linear equation M1 * X = M2
M = mat_lsolve_durbin(M1, M2)     Levinson-Durbin method
M = mat_SymToeplz(M1)             Create symmetric Toeplitz matrix