NcmStatsDist1dSpline

NcmStatsDist1dSpline — One dimensional probability distribution based on a spline

Functions

Properties

NcmSpline * m2lnp Read / Write / Construct
double tail-sigma Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── NcmStatsDist1d
        ╰── NcmStatsDist1dSpline

Description

Reconstruction of an arbitrary one dimensional probability distribution based on a spline.

Functions

ncm_stats_dist1d_spline_new ()

NcmStatsDist1dSpline *
ncm_stats_dist1d_spline_new (NcmSpline *m2lnp);

Returns a new NcmStatsDist1dSpline where m2lnp , $-2\ln(p(x))$, is a NcmSpline, where $p(x)$ is the probability density. The probability density $p(x)$ do not need to be normalized.

Parameters

m2lnp

a NcmSpline

 

Returns

a new NcmStatsDist1dSpline

Types and Values

NCM_TYPE_STATS_DIST1D_SPLINE

#define NCM_TYPE_STATS_DIST1D_SPLINE (ncm_stats_dist1d_spline_get_type ())

NcmStatsDist1dSpline

typedef struct _NcmStatsDist1dSpline NcmStatsDist1dSpline;

Property Details

The “m2lnp” property

  “m2lnp”                    NcmSpline *

m2lnp.

Owner: NcmStatsDist1dSpline

Flags: Read / Write / Construct


The “tail-sigma” property

  “tail-sigma”               double

Tail sigma.

Owner: NcmStatsDist1dSpline

Flags: Read / Write / Construct

Allowed values: >= 1e-100

Default value: 0.01