From 02fa24b2979fc584d3392c3adefd9cae333588a5 Mon Sep 17 00:00:00 2001 From: Larz White Date: Thu, 11 Aug 2016 18:47:14 -0500 Subject: [PATCH] Changed code documentaion to make it more clear on the allowed node/weights. --- src/Numerics/Integrate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Numerics/Integrate.cs b/src/Numerics/Integrate.cs index 78deddfa..6efb2f1c 100644 --- a/src/Numerics/Integrate.cs +++ b/src/Numerics/Integrate.cs @@ -70,7 +70,7 @@ namespace MathNet.Numerics /// Where the interval ends for the first (inside) integral, exclusive and finite. /// Where the interval starts for the second (outside) integral, exclusive and finite. /// /// Where the interval ends for the second (outside) integral, exclusive and finite. - /// Defines an Nth order Gauss-Legendre rule. The order also defines the number of abscissas and weights for the rule. Precomputed Gauss-Legendre abscissas/weights for orders 2,. . ., 20, 32, 64, 96, 100, 128, 256, 512, 1024 are used, otherwise they're calulcated on the fly. + /// Defines an Nth order Gauss-Legendre rule. The order also defines the number of abscissas and weights for the rule. Precomputed Gauss-Legendre abscissas/weights for orders 2-20, 32, 64, 96, 100, 128, 256, 512, 1024 are used, otherwise they're calulcated on the fly. /// Approximation of the finite integral in the given interval. public static double OnRectangle(Func f, double invervalBeginA, double invervalEndA, double invervalBeginB, double invervalEndB, int order) {