Method
NumCosmoMathVectorpeek_variant
Declaration [src]
GVariant*
ncm_vector_peek_variant (
const NcmVector* cv
)
Description [src]
Convert cv to a GVariant of the type “ad” using the same memory space.
The vector cv should not be modified during the variant existence.
If the vector has stride != 1 then ncm_vector_get_variant() is called.
Return value
Type: GVariant
A GVariant of the type “ad”.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |