Class constructor with specified rows and columns.
- Parameters:
-
new_rows | : number of rows |
new_cols | : number of columns |
clear | : flag if true then This function allocates memory for a matrix of size new_rows rows by new_cols columns and initializes all the elements of the matrix to zero (does a calloc), if false then creates a matrix of size new_rows by new_cols, returns a pointer to a gsl matrix struct (does an alloc). |
If clear is not specified then default is clear = true.