Repository navigation
Commit 8e0bb15
A Gaussian below the bar is read as its negated exponent above it (#1641)
e^(-x^2)/x^2 was integrated by the Gaussian's moments, and 1/(e^(x^2) x^2), the same function, was
not: the moment rule took the exponential from above the bar only. By parts writes the factor
beside erf(b x) in erf(b x)/(e^(b^2 x^2) x^2) the second way, and that integral was declined for
want of it. A Gaussian below the bar is read as the exponential of its negated exponent now.
Measured on the Rubi corpus, master at 2db4278 and this change on it, run side by side: family 8
367 -> 371 of 420, erf and erfc of b x over e^(b^2 x^2) x^2 and over e^(b^2 x^2) x^4; family 2 544
of 650, the independent suites 1756 of 1814 and families 1 and 3 to 7 at five a file 799 of 897, on
both. 0 wrong everywhere. Run alone, the four are 0 of 4 on master and 4 of 4 here, each answered in
0.2 to 0.9 s where master declined it in 2.4 to 10.5 s. The unit tests pass, 14,249.
The performance gate passes on c6024927, which is this change on 2db4278: allocation is what the
baseline says on all 19 gated benchmarks.
GaussianIntegralTest has two rows with the Gaussian below the bar, each differentiated back.
Part of #1501.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 6c94652 commit 8e0bb15
3 files changed
Lines changed: 22 additions & 2 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2917 | 2917 | | |
2918 | 2918 | | |
2919 | 2919 | | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
| 2923 | + | |
| 2924 | + | |
| 2925 | + | |
| 2926 | + | |
| 2927 | + | |
| 2928 | + | |
| 2929 | + | |
| 2930 | + | |
| 2931 | + | |
| 2932 | + | |
| 2933 | + | |
2920 | 2934 | | |
2921 | 2935 | | |
2922 | 2936 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
236 | 240 | | |
237 | | - | |
| 241 | + | |
238 | 242 | | |
239 | 243 | | |
240 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
0 commit comments