We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 893bf30 commit 48aa71cCopy full SHA for 48aa71c
src/numericalnim/integrate.nim
@@ -12,7 +12,7 @@ from ./interpolate import InterpolatorType, newHermiteSpline
12
##
13
## ## Integrate discrete data:
14
## - `trapz`, `simpson`: works for any spacing between points.
15
-## - `romberg`: requires equally spaced points.
+## - `romberg`: requires equally spaced points and the number of points must be of the form 2^k + 1 ie 3, 5, 9, 17, 33, 65, 129 etc.
16
17
runnableExamples:
18
import numericalnim, std/[sequtils]
0 commit comments