XLL+ Class Library (6.3)

matrix<T> Methods

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

Construction

public method matrix<T> Constructs a new matrix
public method operator= Assignment operator

Operations

public method add_col Add a single column to the matrix and populate it
public method add_row Add a single row to the matrix and populate it
public method clear Empty the matrix
public method resize Resize the matrix, optionally preserving existing values
public method transpose Transpose the matrix along its major diagonal

Attributes

public method cols Returns the number of columns
public method rows Returns the number of rows

Access

public method at Returns a reference to an item in the matrix
public method col Returns a copy of a complete column
public method col_ptr Returns a pointer to the data in a column
public method find_in_col Searches one column for a value
public method find_in_row Searches one row for a value
public method get_col_ptrs Populates a vector of column pointers
public method row Returns a copy of a complete row

Requirements

Header: matrix.h

See Also

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