Method

NumCosmoMathMatrixadd_constant

Declaration [src]

void
ncm_matrix_add_constant (
  NcmMatrix* cm,
  const gdouble val
)

Description [src]

This function adds the the constant factor val to the elements of the matrix cm. The result is stored in cm.

Parameters

val

Type: const gdouble

A double.