public static IntegrationResult Integrate(
Func<double, double> integrand,
double start,
double end
)
Public Shared Function Integrate (
integrand As Func(Of Double, Double),
start As Double,
end As Double
) As IntegrationResult
public:
static IntegrationResult^ Integrate(
Func<double, double>^ integrand,
double start,
double end
)
static member Integrate :
integrand : Func<float, float> *
start : float *
end : float -> IntegrationResult
By default, integrals are evaluated to a relative precision of about 10-14, about two digits short of full precision, or an absolute precision of about 10-16, using a budget of about 5000 evaluations. To specify different evaluation settings use Integrate(FuncDouble, Double, Double, Double, IntegrationSettings).
See Integrate(FuncDouble, Double, Double, Double, IntegrationSettings) for detailed remarks on numerical integration.
ArgumentNullException | The integrand is . |
NonconvergenceException | The maximum number of function evaluations was exceeded before the integral could be determined to the required precision. |