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: NcmSplineCurvatureType

A NcmSplineCurvatureType.

p

Type: const gdouble

The norm order $p > 0$.

weight

Type: NcmSpline

A NcmSpline holding the non-negative weight density $W(\alpha)$.

The data is owned by the caller of the method.

Return value

Type: gdouble

The weighted curvature $L_p$ norm.