Method

NumCosmoMathStatsVecappend_data

Declaration [src]

void
ncm_stats_vec_append_data (
  NcmStatsVec* svec,
  GPtrArray* data,
  gboolean dup
)

Description [src]

Appends and updates the statistics using the data contained in data and weight == 1.0. It assumes that each element of data is a NcmVector of same size NcmStatsVec:length and with continuous allocation. i.e., NcmVector:stride == 1.

If svec was created with save_x TRUE, the paramenter dup determines if the vectors from data will be duplicated or if just a reference for the current vectors in data will be saved.

Parameters

data

Type: An array of NcmVector*

A GPtrArray containing NcmVector s to be added.

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

Type: gboolean

A boolean.