Constructor

NumCosmoMathMatrixnew_gsl

Declaration [src]

NcmMatrix*
ncm_matrix_new_gsl (
  gint* gm
)

Description [src]

This function saves gm internally and frees it when it is no longer necessary. The gm matrix must not be freed.

This constructor is not directly available to language bindings.

Parameters

gm

Type: gint*

Matrix from GNU Scientific Library (GSL) to be converted into a NcmMatrix.

The data is owned by the caller of the function.

Return value

Type: NcmMatrix

A new NcmMatrix.

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