Method

NumCosmoMathMatrixset_from_array

Declaration [src]

void
ncm_matrix_set_from_array (
  NcmMatrix* cm,
  GArray* a
)

Description [src]

This function sets the valuus of cm using data. Data must have the same size as NcmMatrix.

Parameters

a

Type: An array of double

Array of doubles.

The data is owned by the caller of the method.