Accord.Math.Integration.RombergMethod.Integrate C# (CSharp) Method

Integrate() public static method

Computes the area under the integral for the given function, in the given integration interval, using Romberg's method.
public static Integrate ( double>.Func func, double a, double b ) : double
func double>.Func The unidimensional function whose integral should be computed.
a double The beginning of the integration interval.
b double The ending of the integration interval.
return double
        public static double Integrate(Func<double, double> func, double a, double b)
        {
            return Integrate(func, a, b, 6);
        }

Same methods

RombergMethod::Integrate ( double>.Func func, double a, double b, int steps ) : double