Constructor

NumCosmoMathVectornew_gsl_static

Declaration [src]

NcmVector*
ncm_vector_new_gsl_static (
  gint* gv
)

Description [src]

This function saves gv internally and does not frees. The gv vector must be valid during the life of the created NcmVector.

This constructor is not directly available to language bindings.

Parameters

gv

Type: gint*

Vector from GNU Scientific Library (GSL) to be converted into a NcmVector.

The data is owned by the caller of the function.

Return value

Type: NcmVector

A new NcmVector.

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