Method

NumCosmoHICosmoQSplineweighted_lp_norm

Declaration [src]

gdouble
nc_hicosmo_qspline_weighted_lp_norm (
  NcHICosmoQSpline* qspline,
  NcmSplineCurvatureType ctype,
  const gdouble p,
  NcmSpline* weight
)

Description [src]

Computes the weight-normalized $L_p$ norm of the $q(z)$ curvature density (selected by ctype) over the reconstruction range $[0, z_f]$, see ncm_spline_curvature_weighted_lp_norm(). The weight abscissa is the redshift $z$, matching the internal $q(z)$ spline; a large $W(z)$ penalizes curvature near that $z$, 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(z)$.

The data is owned by the caller of the method.

Return value

Type: gdouble

The weighted curvature $L_p$ norm.