Class

NumCosmoMathBootstrap

Description [src]

final class NumCosmoMath.Bootstrap : GObject.Object
{
  /* No available fields */
}

Generic index bootstrap.

This object generate random samples of indexes. These samples are used to calculate statistics using different combinations of the same data set.

Ancestors

Constructors

ncm_bootstrap_full_new

Creates a new NcmBootstrap object for a sample of size fsize. This object will sample with replacement all indexes bsize times.

ncm_bootstrap_new

Creates a new zero sized NcmBootstrap object.

ncm_bootstrap_sized_new

Creates a new NcmBootstrap object for a sample of size fsize. This object will sample with replacement all indexes fsize times.

Functions

ncm_bootstrap_clear

Decreases the reference count of bstrap by one and sets bstrap tp NULL.

Instance methods

ncm_bootstrap_free

Decreases the reference count of bstrap by one.

ncm_bootstrap_get

Gets the index associated with the i-th resampled index.

ncm_bootstrap_get_bsize

Gets the bootstrap size.

ncm_bootstrap_get_fsize

Gets the full sample size.

ncm_bootstrap_get_sortncomp

Fills an array with the sorted indexes followed by the number of times they appear.

ncm_bootstrap_is_init

Checks if the bootstrap object was initialized (remix or resample).

ncm_bootstrap_ref

Increases the reference count of bstrap by one.

ncm_bootstrap_remix

Sample without replacement NcmBootstrap:bootstrap-size from the NcmBootstrap:full-size indexes. Note that in this case NcmBootstrap:bootstrap-size must be equal or smaller than NcmBootstrap:full-size.

ncm_bootstrap_resample

Sample with replacement NcmBootstrap:bootstrap-size from the NcmBootstrap:full-size indexes.

ncm_bootstrap_set_bsize

Sets the bootstrap size.

ncm_bootstrap_set_fsize

Sets the full sample size, it also sets the bsize to the same value fsize.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmoMath.Bootstrap:bootstrap-size
No description available.

NumCosmoMath.Bootstrap:full-size
No description available.

NumCosmoMath.Bootstrap:init
No description available.

NumCosmoMath.Bootstrap:realization
No description available.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct NumCosmoMathBootstrapClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.