void matrix_int::set_dimensions ( size_t  new_rows,
size_t  new_cols 
)

Function that sets the size of a matrix.

Parameters:
new_rows: Number of rows in the matrix
new_cols: Numnber of columns in the matrix

Functions is used to set dimensions of a previously defined matrix. Example, M.set_dimensions(10,10) makes M a 10x10 matrix.

All Classes Files Functions Variables Typedefs Friends Defines