Function

NumCosmoMathTriVecnew_full

Declaration [src]

NcmTriVec*
ncm_trivec_new_full (
  const gdouble* c
)

Description [src]

Creates a new NcmTriVec with the given components.

Parameters

c

Type: An array of double

Components.

The array must have 3 elements.
The data is owned by the caller of the function.

Return value

Type: NcmTriVec

The new NcmTriVec.

The caller of the function takes ownership of the data, and is responsible for freeing it.