use *;
use ;
use crateIntegrationResult;
/// Performs integration using `QAGS` algorithm,
/// which achieves great performance for many kinds of functions.
///
/// # Examples
///
/// ```
/// use gkquad::single::integral;
///
/// let result = integral(|x: f64| x.sqrt(), 1.0..2.0).estimate();
/// ```
/// Performs the integration with custom configuration.
///
/// The algorithm will be automatically selected to achieve the greatest performance.