Constructor
NumCosmoMathVectorconst_new_variant
Declaration [src]
const NcmVector*
ncm_vector_const_new_variant (
GVariant* var
)
Description [src]
This function convert a GVariant array to a NcmVector. Since it returns
a constant NcmVector it uses the same memory of var.
Parameters
var-
Type:
GVariantA
GVariantof the type “ad”.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. |