Expand description
Sample points for the composite Newton-Cotes rules.
Functions§
- grid_
points nequally spaced points fromatobinclusive, and their spacingh = (b − a)/(n − 1): the nodes of the composite trapezoid and Simpson rules.- panel_
midpoints - The midpoints of
nequal panels of[a, b],a + (i + ½) hwithh = (b − a)/n, andh: the nodes of the composite midpoint rule.