Constructor

NumCosmoMathStatsDist2dSplinenew

Declaration [src]

NcmStatsDist2dSpline*
ncm_stats_dist2d_spline_new (
  NcmSpline2d* m2lnp
)

Description [src]

Returns a new NcmStatsDist2dSpline where m2lnp, $-2\ln(p(x, y))$, is a NcmSpline2d, where $p(x, y)$ is the probability density function.

Parameters

m2lnp

Type: NcmSpline2d

A NcmSpline2d.

The data is owned by the caller of the function.

Return value

Type: NcmStatsDist2dSpline

A new NcmStatsDist2dSpline.

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