-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP #1064 implement for determining default numerical integral method
- If the expression has `Abs` function, use the `LegendreGauss` method Example input: `Integrate[Abs(x^2-2x), {x, -10, 10}] // N` Result should be `669.3282335875249` - If the expression contains a variable that occurs in the exponent of `Power` function, use the `GaussKronrod` method Example input: `x^x`, `3^(2x)`, `E^(-Sin(t))` - Otherwise, use the `Romberg` method, since it is the optimized version of trapezoid and Simpson methods
- Loading branch information
Showing
2 changed files
with
32 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters