Method
NumCosmoMathStatsVecprepend
Declaration [src]
void
ncm_stats_vec_prepend (
NcmStatsVec* svec,
NcmVector* x,
gboolean dup
)
Description [src]
Prepends and updates the statistics using the vector x and weight 1.0.
It assumes that NcmVector is 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 vector
will be duplicated or if just a reference for x will be saved.
Parameters
x-
Type:
NcmVectorA
NcmVectorto be added.The data is owned by the caller of the method. dup-
Type:
gbooleanA boolean.