NLAlib.interpolatoryQuadrature
Library · def
The interpolatory quadrature rule of \mu at the nodes s, as a measure: weight \int \ell_\mathbf{x}\,d\mu at each node \mathbf{x}, \ell_\mathbf{x} the Lagrange basis polynomial. At Gauss nodes the weights are nonnegative (IsOrthogonalPolynomial.integral_eval_basis_eq_integral_sq), and the rule is the Gauss rule. Junk: negative weights are truncated at 0, so at nodes that are not Gauss nodes the measure need not be the interpolatory rule.
NLAlib.interpolatoryQuadrature (μ : Measure ℝ) (s : Finset ℝ) : Measure ℝImport NLAlib.Polynomial.Orthogonal.Gauss.