Method

NumCosmoMathVectoraxpy

Declaration [src]

void
ncm_vector_axpy (
  NcmVector* cv1,
  const gdouble alpha,
  const NcmVector* cv2
)

Description [src]

Performs the operation: cv1$=\alpha\times$ cv2 $+$ cv1.

Parameters

alpha

Type: const gdouble

A constant double $\alpha$.

cv2

Type: NcmVector

A constant NcmVector.

The data is owned by the caller of the method.