Method

NumCosmoMathMatrixfast_get

Declaration [src]

gdouble
ncm_matrix_fast_get (
  NcmMatrix* cm,
  const guint ij
)

Description [src]

This function returns the value of the cm[i,j] element by direct access of its base data. Where ij = i $\times$ tda $+$ j.

If the matrix was created with ncm_matrix_new() or ncm_matrix_new0() then tda = ncols.

Parameters

ij

Type: const guint

Element index of the NcmMatrix base data.

Return value

Type: gdouble

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