Method
NumCosmoMathSplinecurvature_lp_norm
Declaration [src]
gdouble
ncm_spline_curvature_lp_norm (
NcmSpline* s,
NcmSplineCurvatureType ctype,
const gdouble p,
const gdouble xi,
const gdouble xf
)
Description [src]
Computes the domain-normalized $L_p$ norm of the curvature density $c(x)$
(selected by ctype) over the interval [xi, xf],
$$N_p = \left(\frac{1}{x_f - x_i}\int_{x_i}^{x_f} |c(x)|^p\,\mathrm{d}x\right)^{1/p}.$$
The case p = 2 yields the root-mean-square curvature; as $p \to \infty$ the
result approaches ncm_spline_curvature_max(). The spline must be prepared.
Parameters
ctype-
Type:
NcmSplineCurvatureTypeA
NcmSplineCurvatureType. p-
Type:
const gdoubleThe norm order $p > 0$.
xi-
Type:
const gdoubleThe lower integration limit.
xf-
Type:
const gdoubleThe upper integration limit.