Method

NumCosmoMathVectoradd

Declaration [src]

void
ncm_vector_add (
  NcmVector* cv1,
  const NcmVector* cv2
)

Description [src]

This function adds the components of the vector cv2 to the components of the vector cv1. The two vectors must have the same length.

Parameters

cv2

Type: NcmVector

A constant NcmVector.

The data is owned by the caller of the method.