Method
NumCosmoMathIntegralFixedinteg_vec_mult
Declaration [src]
gdouble
ncm_integral_fixed_integ_vec_mult (
NcmIntegralFixed* intf,
const NcmVector* f_at_nodes
)
Description [src]
Computes the integral $\int F(x) G(x) \mathrm{d}x$ as the dot product of the
stored quadrature-weighted nodes (which already contain $w_k F(x_k)$) with
f_at_nodes (the externally evaluated $G(x_k)$), scaled by delta_x / 2.
Parameters
f_at_nodes-
Type:
NcmVectorA
NcmVectorof length(n_nodes - 1) * rule_nholding the integrand values evaluated at the abscissae returned by #ncm_integral_fixed_get_nodes.The data is owned by the caller of the method.