NcmDataDist1d

NcmDataDist1d — Abstract class for one variable distribution data.

Functions

Properties

guint n-points Read / Write / Construct
NcmVector * vector Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── NcmData
        ╰── NcmDataDist1d
            ╰── NcDataBaoEmpiricalFit

Description

This object is an abstract class for one variable distribution data.

Functions

ncm_data_dist1d_set_size ()

void
ncm_data_dist1d_set_size (NcmDataDist1d *dist1d,
                          guint np);

Sets the data size to np .

[virtual set_size]

Parameters

dist1d

a NcmDataDist1d

 

np

data size.

 

ncm_data_dist1d_get_size ()

guint
ncm_data_dist1d_get_size (NcmDataDist1d *dist1d);

Gets the data size.

[virtual get_size]

Parameters

dist1d

a NcmDataDist1d

 

Returns

Data size.


ncm_data_dist1d_get_data ()

NcmVector *
ncm_data_dist1d_get_data (NcmDataDist1d *dist1d);

Gets the data NcmVector.

Parameters

dist1d

a NcmDataDist1d

 

Returns

Data vector.

[transfer full]

Types and Values

NCM_TYPE_DATA_DIST1D

#define NCM_TYPE_DATA_DIST1D (ncm_data_dist1d_get_type ())

struct NcmDataDist1dClass

struct NcmDataDist1dClass {
};

NcmDataDist1d

typedef struct _NcmDataDist1d NcmDataDist1d;

Property Details

The “n-points” property

  “n-points”                 guint

Data sample size.

Owner: NcmDataDist1d

Flags: Read / Write / Construct

Default value: 0


The “vector” property

  “vector”                   NcmVector *

Data vector.

Owner: NcmDataDist1d

Flags: Read / Write