Constructor

NumCosmoMathModelBuildernew

Declaration [src]

NcmModelBuilder*
ncm_model_builder_new (
  GType ptype,
  const gchar* name,
  const gchar* desc
)

Description [src]

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.

Parameters

ptype

Type: GType

Parent’s type.

name

Type: const gchar*

Model’s name.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
desc

Type: const gchar*

Model’s description.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: NcmModelBuilder

A new NcmModelBuilder.

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