Function
NumCosmoMathMatrixnew0
Declaration [src]
NcmMatrix*
ncm_matrix_new0 (
const guint nrows,
const guint ncols
)
Description [src]
This function allocates memory for a new NcmMatrix of doubles
with nrows rows and ncols columns and sets all elements to zero.
Return value
Type: NcmMatrix
A new NcmMatrix.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |