Constructor

NumCosmoMathDatasetnew_array

Declaration [src]

NcmDataset*
ncm_dataset_new_array (
  NcmData** data_array,
  guint len
)

Description [src]

Creates a new NcmDataset object and adds len NcmData from data_array.

Parameters

data_array

Type: An array of NcmData*

Array of NcmData to be added.

The length of the array is specified in the len argument.
The data is owned by the caller of the function.
len

Type: guint

Length of data_array.

Return value

Type: NcmDataset

A new NcmDataset.

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