Skip to main content

Module simpsons_1_3_integration_engine

Module simpsons_1_3_integration_engine 

Source
Expand description

The composite Simpson’s 1/3 rule.

See the book entry Newton-Cotes rules.

Structs§

Simpson13Engine
The composite Simpson’s 1/3 rule on n equally spaced points (n − 1 panels of width h = (b − a)/(n − 1)): weights h/3 · (1, 4, 2, 4, …, 2, 4, 1).