Method

NumCosmoMathMatrixset_colmajor

Declaration [src]

void
ncm_matrix_set_colmajor (
  NcmMatrix* cm,
  const guint i,
  const guint j,
  gdouble val
)

Description [src]

This function sets the value of the (i,j)-th element of the matrix cm to val considering it being in the 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.

val

Type: gdouble

A double.