## Numerical Integration | Extreme Optimization Numerical Libraries for .NET Professional |

Numerical integration or quadrature approximates an integral
over a fixed interval. The **
Extreme Optimization Numerical Libraries
for .NET
** contain a variety of algorithms that are
can be useful in varying situations.

The NumericalIntegrator class is the base class for all algorithms that implement numerical integration. It is discussed in the next section.

There are two main classes of algorithms. Fixed interval methods use the same integration rule over the entire interval. Iterations consist of dividing the interval into an ever greater number of subintervals until the estimated error is sufficiently small. The drawback of these methods is that they are relatively inefficient. The advantage is that they may give guaranteed upper or lower bounds for specific types of functions. For example, the trapezoid rule will consistently overestimate the integral of a convex function, while the midpoint rule will consistently underestimate the integral.

Adaptive methods divide intervals based on the estimated error of the integral. The intervals with the largest estimated error are subdivided first. This generally leads to fewer function evaluations.

Copyright Â© 2004-2021,
Extreme Optimization. All rights reserved.

*Extreme Optimization,* *Complexity made simple*, *M#*, and *M
Sharp* are trademarks of ExoAnalytics Inc.

*Microsoft*, *Visual C#, Visual Basic, Visual Studio*, *Visual
Studio.NET*, and the *Optimized for Visual Studio* logo

are
registered trademarks of Microsoft Corporation.