Constructor
NumCosmoMathStatsDist1dSplinenew
Declaration [src]
NcmStatsDist1dSpline*
ncm_stats_dist1d_spline_new (
NcmSpline* m2lnp
)
Description [src]
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-
Type:
NcmSplineA
NcmSpline.The data is owned by the caller of the function.
Return value
Type: NcmStatsDist1dSpline
A new NcmStatsDist1dSpline.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |