Method
NumCosmoMathSplinecurvature_max
Declaration [src]
gdouble
ncm_spline_curvature_max (
NcmSpline* s,
NcmSplineCurvatureType ctype,
const gdouble xi,
const gdouble xf
)
Description [src]
Computes the maximum absolute curvature density $|c|\infty = \max{x}
|c(x)|$ over [xi, xf] (the $p \to \infty$ limit of
ncm_spline_curvature_lp_norm()). The extremum is searched over the spline
knots inside the interval and a refining grid; intended as a diagnostic
rather than for use inside a likelihood. The spline must be prepared.
Parameters
ctype-
Type:
NcmSplineCurvatureTypeA
NcmSplineCurvatureType. xi-
Type:
const gdoubleThe lower limit.
xf-
Type:
const gdoubleThe upper limit.