namespace AIStudio.Tools.Mathematics;
///
/// The result of a numerical integration.
///
/// The estimate of the integral; only an estimate of it when Status is CONVERGED.
/// The estimated absolute error of the value.
/// How the integration ended.
/// Where the integrand had no finite value, when Status is NO_VALUE.
/// How often the integrand was evaluated.
public sealed record QuadratureResult(double Value, double EstimatedError, QuadratureStatus Status, double? FailurePoint, int Evaluations);