Function

NumCosmoMathMatrixsubstitute

Declaration [src]

void
ncm_matrix_substitute (
  NcmMatrix** cm,
  NcmMatrix* nm,
  gboolean check_size
)

Description [src]

Substitute the matrix cm by nm, first it unref cm if it is not NULL. If check_size is TRUE then check if the two matrix have the same size.

Parameters

cm

Type: NcmMatrix

A NcmMatrix.

The data is owned by the caller of the function.
nm

Type: NcmMatrix

A NcmMatrix.

The argument can be NULL.
The data is owned by the caller of the function.
check_size

Type: gboolean

A boolean.