Method

NumCosmoMathStatsDisteval_m2lnp_vec

Declaration [src]

void
ncm_stats_dist_eval_m2lnp_vec (
  NcmStatsDist* sd,
  GPtrArray* x_a,
  NcmVector* m2lnp
)

Description [src]

Evaluates the distribution at every point of x_a, writing $-2\ln P(\vec{x}_i)$ into element $i$ of m2lnp. Equivalent to calling ncm_stats_dist_eval_m2lnp() once per point, but subclasses may share work across the batch, so the two need not agree to the last bit.

Parameters

x_a

Type: An array of NcmVector*

An array of NcmVector.

The data is owned by the caller of the method.
m2lnp

Type: NcmVector

A NcmVector holding the result.

The data is owned by the caller of the method.