Method

NumCosmoMathMatrixadd_mul

Declaration [src]

void
ncm_matrix_add_mul (
  NcmMatrix* cm1,
  const gdouble a,
  NcmMatrix* cm2
)

Description [src]

This function performs the operation cm1 = a $\times$ cm2 $+$ cm1.

Parameters

a

Type: const gdouble

A constant gdouble.

cm2

Type: NcmMatrix

A NcmMatrix.

The data is owned by the caller of the method.