Method

NumCosmoMathVectorset_data

Declaration [src]

void
ncm_vector_set_data (
  NcmVector* cv,
  const gdouble* array,
  guint size
)

Description [src]

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

Parameters

array

Type: An array of double

A pointer to a double array.

The length of the array is specified in the size argument.
The data is owned by the caller of the method.
size

Type: guint

Data array size.