Constructor

NumCosmoMathMatrixnew_gsl_static

Declaration [src]

NcmMatrix*
ncm_matrix_new_gsl_static (
  gint* gm
)

Description [src]

This function saves gm internally and does not frees it. The gm matrix must be valid during the life of the created NcmMatrix.

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.