Function dyn_matrix_space
Defined in File dyn_matrix.h
Function Documentation
-
static inline size_t dyn_matrix_space(size_t n_rows, size_t n_cols, size_t elt_size)
Calculate the # of bytes required for the initial size of the dynamic matrix.
- Parameters:
n_rows – Initial # rows.
n_cols – Initial # columns.
elt_size – Size of the elements in bytes.
- Returns:
The # of bytes required.