Method

NumCosmoMathMatrixsub_row_vector

Declaration [src]

void
ncm_matrix_sub_row_vector (
  NcmMatrix* cm,
  const NcmVector* v
)

Description [src]

Sets $M_{ij} \to M_{ij} - v_j$, subtracting v from every row.

Parameters

v

Type: NcmVector

A NcmVector $v$, one entry per column.

The data is owned by the caller of the method.