Constructor

NumCosmoMathVectornew_gsl

Declaration [src]

NcmVector*
ncm_vector_new_gsl (
  gint* gv
)

Description [src]

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

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.