Constructor

NumCosmoMathMatrixnew

Declaration [src]

NcmMatrix*
ncm_matrix_new (
  const guint nrows,
  const guint ncols
)

Description [src]

This function allocates memory for a new NcmMatrix of doubles with nrows rows and ncols columns.

Parameters

nrows

Type: const guint

Number of rows.

ncols

Type: const guint

Number of columns.

Return value

Type: NcmMatrix

A new NcmMatrix.

The caller of the function takes ownership of the data, and is responsible for freeing it.