Constructor

NumCosmoMathVParamnew

Declaration [src]

NcmVParam*
ncm_vparam_new (
  guint len,
  NcmSParam* default_param
)

Description [src]

This function allocates memory for a new NcmVParam object and sets its properties to the values from the input arguments. len provides the number of components.

Parameters

len

Type: guint

Vector length.

default_param

Type: NcmSParam

A NcmSParam.

The data is owned by the caller of the function.

Return value

Type: NcmVParam

A new NcmVParam.

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