Method
NumCosmoHICosmoDEWSplineweighted_lp_norm
Declaration [src]
gdouble
nc_hicosmo_de_wspline_weighted_lp_norm (
NcHICosmoDEWSpline* wspline,
NcmSplineCurvatureType ctype,
const gdouble p,
NcmSpline* weight
)
Description [src]
Computes the weight-normalized $L_p$ norm of the $w(\alpha)$ curvature density
(selected by ctype) over the active range $[0, \alpha_f]$, see
ncm_spline_curvature_weighted_lp_norm(). The weight abscissa is
$\alpha = \ln(1 + z)$, matching the internal $w(\alpha)$ spline; a large
$W(\alpha)$ penalizes curvature near that $\alpha$, a small one tolerates it.
Parameters
ctype-
Type:
NcmSplineCurvatureTypeA
NcmSplineCurvatureType. p-
Type:
const gdoubleThe norm order $p > 0$.
weight-
Type:
NcmSplineA
NcmSplineholding the non-negative weight density $W(\alpha)$.The data is owned by the caller of the method.