Constructor

NumCosmoMathStatsVecnew

Declaration [src]

NcmStatsVec*
ncm_stats_vec_new (
  guint len,
  NcmStatsVecType t,
  gboolean save_x
)

Description [src]

Creates a new NcmStatsVec.

Parameters

len

Type: guint

Number of random variables.

t

Type: NcmStatsVecType

Type of statistics to be calculated.

save_x

Type: gboolean

Whenever to save each vector x.

Return value

Type: NcmStatsVec

A new NcmStatsVec.

The caller of the function takes ownership of the data, and is responsible for freeing it.