Commit 363edfa
Say what the three-argument integral actually cost, measured on 1.3.0 (#875)
The 1.4.0 entry showed one row, integral(f, x, 1), which 1.3.0 read as integral(f, x). That
makes the removal look like a no-op losing a no-op. It was not: a count of two or more was a
real iterated integral, and it is the part that is gone.
1.3.0 integral(x, x, 2) -> x ^ 3 / 6
1.4.0 integral(x, x, 2) -> FunctionArgumentCountException
The entry already said "for a repeated antiderivative, nest the calls", which is right and is
now the row that shows why it is needed. But following that advice does not give back what was
there, because #657 also began adding the constants of integration:
1.3.0 integral(x, x, 2) -> x ^ 3 / 6
1.3.0 integral(integral(x, x), x) -> x ^ 3 / 6
1.4.0 integral(integral(x, x), x) -> C_1 + C * x + x ^ 3 / 6
master integral(integral(x, x), x) -> C_1 + C * x + x ^ 3 / 6
So the migration path is right but not answer-for-answer, and someone who takes it and diffs
the output should be told which difference to expect rather than discovering it.
The last row of the table also read "--" for integral(f, x, a, b) on 1.3.0, where the measured
value is a FunctionArgumentCountException naming three arguments or two -- the mirror image of
the message 1.4.0 gives for three. This file asks for the value on the previous release rather
than a dash, so it now gives it.
Each line above measured by parsing the string in a process referencing that published package,
1.3.0 and 1.4.0 from nuget and master built from source. Documentation only; no code changed.
Closes #847.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent e74323f commit 363edfa
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1795 | 1795 | | |
1796 | 1796 | | |
1797 | 1797 | | |
1798 | | - | |
| 1798 | + | |
| 1799 | + | |
1799 | 1800 | | |
1800 | 1801 | | |
1801 | 1802 | | |
| |||
1808 | 1809 | | |
1809 | 1810 | | |
1810 | 1811 | | |
1811 | | - | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
1812 | 1817 | | |
1813 | 1818 | | |
1814 | 1819 | | |
| |||
0 commit comments