XLL+ Class Library

matrix<T> Methods

The methods of the matrix<T> class are listed here.

Construction

public methodmatrix<T>Constructs a new matrix
public methodoperator=Assignment operator

Operations

public methodclearEmpty the matrix
public methodresizeResize the matrix, optionally preserving existing values
public methodtransposeTranspose the matrix along its major diagonal
public methodadd_rowAdd a single row to the matrix and populate it
public methodadd_colAdd a single column to the matrix and populate it

Attributes

public methodrowsReturns the number of rows
public methodcolsReturns the number of columns

Access

public methodatReturns a reference to an item in the matrix
public methodrowReturns a copy of a complete row
public methodcolReturns a copy of a complete column
public methodfind_in_rowSearches one row for a value
public methodfind_in_colSearches one column for a value
public methodcol_ptrReturns a pointer to a contiguous column
public methodget_col_ptrsPopulates a vector of column pointers

Requirements

Header: matrix.h

See Also

matrix<T> Class | matrix.h | imtx<T>