Method

NumCosmoMathVectorset_array

Declaration [src]

void
ncm_vector_set_array (
  NcmVector* cv,
  GArray* array
)

Description [src]

This function sets all the components of the vector cv using the data array array. array->len must match the vector size.

Parameters

array

Type: An array of double

A pointer to a double GArray.

The data is owned by the caller of the method.