Method

NumCosmoMathStatsVecget_cor

Declaration [src]

gdouble
ncm_stats_vec_get_cor (
  NcmStatsVec* svec,
  guint i,
  guint j
)

Description [src]

Return the current value of the correlation between the i-th and the j-th variables, i.e., $$Cor_{ij} \equiv \frac{Cov_{ij}}{\sigma_i\sigma_j}.$$.

Parameters

i

Type: guint

A variable index.

j

Type: guint

A variable index.

Return value

Type: gdouble

$Cor_{ij}$.