Method

NumCosmoMathMatrixset_col

Declaration [src]

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

Description [src]

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

Parameters

n

Type: const guint

Column index.

cv

Type: NcmVector

A constant NcmVector.

The data is owned by the caller of the method.