Class

NumCosmoMathModelBuilder

Description [src]

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

A NcmModel builder.

This model can be used to create runtime NcmModels. It is particularly useful to create models in binded languages, e.g., python.

Ancestors

Constructors

ncm_model_builder_new

Creates a new NcmModelBuilder object. This does not create the new class after defining all parameters one should call ncm_model_builder_create() to effectively define a new class.

Instance methods

ncm_model_builder_add_sparam

Creates a new NcmSParam from arguments and add it to mb.

ncm_model_builder_add_sparam_obj

Adds the parameters described by sparam to mb.

ncm_model_builder_add_sparams

Adds all NcmSParam objects in sparams to mb.

ncm_model_builder_add_vparam

Creates a new NcmVParam from arguments and add it to mb.

ncm_model_builder_add_vparam_obj

Adds the parameters described by sparam to mb.

ncm_model_builder_create

Creates a new object type using the scalar and vector parameters defined in mb. If the object type was already created, this function just returns the type.

ncm_model_builder_get_sparams
No description available.

ncm_model_builder_ref

Increase reference count of mb by one.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmoMath.ModelBuilder:description
No description available.

NumCosmoMath.ModelBuilder:name
No description available.

NumCosmoMath.ModelBuilder:sparams
No description available.

NumCosmoMath.ModelBuilder:stackable
No description available.

NumCosmoMath.ModelBuilder:vparams
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 NumCosmoMathModelBuilderClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.