Method

NumCosmoMathMatrixscale_cols

Declaration [src]

void
ncm_matrix_scale_cols (
  NcmMatrix* cm,
  const NcmVector* s
)

Description [src]

Sets $M \to M\,\mathrm{diag}(s)$.

Parameters

s

Type: NcmVector

A NcmVector $s$, one entry per column.

The data is owned by the caller of the method.