Method

NumCosmoMathMatrixas_vector

Declaration [src]

NcmVector*
ncm_matrix_as_vector (
  NcmMatrix* cm
)

Description [src]

Creates a vector containing the row-wise concatenation of the matrix cm. It requires a matrix with tda==ncols.

Return value

Type: NcmVector

A NcmVector.

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