Method

NumCosmoMathMatrixset_row

Declaration [src]

void
ncm_matrix_set_row (
  NcmMatrix* cm,
  const guint n,
  const NcmVector* cv
)

Description [src]

This function copies the elements of the vector cv into the n-th row of the matrix cm. The length of the vector must be the same as the length of the row.

Parameters

n

Type: const guint

Row index.

cv

Type: NcmVector

A constant NcmVector.

The data is owned by the caller of the method.