Method

NumCosmoMathMatrixget_colmajor

Declaration [src]

gdouble
ncm_matrix_get_colmajor (
  const NcmMatrix* cm,
  const guint i,
  const guint j
)

Description [src]

Gets the (i,j)-th component of cm assuming a column-major order.

All column-major methods should be used carefully, they are inconsistent with most other methods and are used mainly to interface with Fortran sub-routines.

Parameters

i

Type: const guint

Row index.

j

Type: const guint

Column index.

Return value

Type: gdouble

The (i,j)-th element of the matrix cm.