Struct

NumCosmoMathIntegralFixed

Description [src]

struct NcmIntegralFixed {
  /* No available fields */
}

Gauss-Legendre rules on equal panels with a stored weight, see ncm_integral_fixed_new().

Functions

ncm_integral_fixed_calibrate

Chooses the NcmIntegralFixed with the fewest total nodes, among rules of 3, 5 and 7 points, whose $\int F\,G$ agrees with a reference to reltol and whose $\int F$ agrees to reltol with exact_F_integ, or with the reference’s own $\int F$ when exact_F_integ is not finite. The second test catches features of F narrower than a panel, which both integrals of $F\,G$ could miss. The reference uses 7-point panels, $10\,\mathrm{reltol}^{-0.3}$ of them, from 96 to 2048. For each rule the panel count is bracketed by growing it geometrically and then found by bisection, assuming the error decreases with it.

ncm_integral_fixed_new

Creates a NcmIntegralFixed with n_nodes - 1 equal panels on [xl, xu] and an rule_n-point Gauss-Legendre rule in each, $(n_\mathrm{nodes} - 1)\,r$ nodes in all.

Instance methods

ncm_integral_fixed_calc_nodes

Stores the weight F times the Gauss-Legendre weight at every node, for the integrals of intf.

ncm_integral_fixed_get_nodes

Computes the nodes into nodes, in the order of the weights stored by ncm_integral_fixed_calc_nodes().

ncm_integral_fixed_integ_mult
No description available.

ncm_integral_fixed_integ_vec_mult

Same as ncm_integral_fixed_integ_mult() with $G$ given at the nodes.

ncm_integral_fixed_nodes_eval
No description available.