Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions BREAKING-CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,7 @@ the right shape, written out or once its operations are carried out, throws `Inv
**Not silent: these names followed by a bracket now throw `UnrecognizedFunctionParseException` where they were read as
products.** An unknown name followed by a bracket is a product, so `zeta(2)` was `zeta * 2` and simplified to
`2 * zeta`. The long names of the functions the library is to have are refused until each is implemented, as `trunc`
is: `zeta`, `riemannzeta`, `hurwitzzeta`, `lambertw`, `productlog` and
`forwarddifference`. Names that will not be functions,
is: `zeta`, `riemannzeta`, `hurwitzzeta`, `lambertw` and `productlog`. Names that will not be functions,
because what they mean differs between sources or is already written exactly, are refused with the spelling to use:
`heaviside`, `unitstep`, `isprime`, `pochhammer`, `doublefactorial`, `factorial2`, `fractionalpart` and `quotient`.
Each name without a bracket is still a variable, and short names such as `beta` and `norm` are still read as products
Expand Down Expand Up @@ -532,6 +531,17 @@ is ([#2182](https://github.com/asc-community/AngouriMath/issues/2182)).
| `"hessian(x^3 y^2, [x, y])".ToEntity().Simplify()` | throws `UnhandledParseException` | `[[6 * x * y ^ 2, 6 * x ^ 2 * y], [6 * x ^ 2 * y, 2 * x ^ 3]]` |
| `"jacobian(x y, {x, y})".ToEntity()` | throws `UnhandledParseException` | throws `InvalidArgumentParseException`: a set has no order for the columns |

### The forward difference

**Not silent: `forwarddifference(f, k)` is `f(k + 1) - f(k)`, written so when it is parsed, where it was a parse error.**
It is the forward difference with a step of 1, as Mathematica's `DifferenceDelta[f, k]` is, taken in a variable
([#2182](https://github.com/asc-community/AngouriMath/issues/2182)).

| Input | Was (2.6.0) | Now |
|---|---|---|
| `"forwarddifference(k^2, k)".ToEntity().Simplify()` | throws `UnhandledParseException` | `1 + 2 * k` |
| `"forwarddifference(2^k, k)".ToEntity()` | throws `UnhandledParseException` | `2 ^ (k + 1) - 2 ^ k` |

### The harmonic numbers

**Not silent: `harmonicnumber(n)` and `harmonicnumber(n, m)` are the harmonic numbers, where the one was a product and the
Expand Down
3 changes: 3 additions & 0 deletions Sources/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -832,3 +832,6 @@ file_header_template=\nCopyright (c) 2019-2026 Angouri.\nAngouriMath is licensed

[Tests/UnitTests/Convenience/HarmonicNumberTest.cs]
file_header_template=\nCopyright (c) 2019-2026 Angouri.\nAngouriMath is licensed under MIT.\nDetails: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md.\nWebsite: https://am.angouri.org.\n

[Tests/UnitTests/Convenience/ForwardDifferenceTest.cs]
file_header_template=\nCopyright (c) 2019-2026 Angouri.\nAngouriMath is licensed under MIT.\nDetails: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md.\nWebsite: https://am.angouri.org.\n
2 changes: 1 addition & 1 deletion Sources/AngouriMath/Core/Antlr/AngouriMath.g
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ atom returns[Entity value]
| 'dot(' args = function_arguments ')' { Assert("dot", 2, $args.list.Count); $value = ParsingHelpers.Dot($args.list[0], $args.list[1]); }
| 'cross(' args = function_arguments ')' { Assert("cross", (1, 2), $args.list.Count); $value = ParsingHelpers.Cross($args.list); }
| 'laplacian(' args = function_arguments ')' { Assert("laplacian", 2, $args.list.Count); $value = ParsingHelpers.Laplacian($args.list[0], $args.list[1]); }
| 'forwarddifference(' args = function_arguments ')' { Assert("forwarddifference", 2, $args.list.Count); $value = ParsingHelpers.ForwardDifference($args.list[0], $args.list[1]); }
| 'jacobian(' args = function_arguments ')' { Assert("jacobian", 2, $args.list.Count); $value = ParsingHelpers.Jacobian($args.list[0], $args.list[1]); }
| 'hessian(' args = function_arguments ')' { Assert("hessian", 2, $args.list.Count); $value = ParsingHelpers.Hessian($args.list[0], $args.list[1]); }
| 'resultant(' args = function_arguments ')' { Assert("resultant", 3, $args.list.Count); $value = ParsingHelpers.Resultant($args.list[0], $args.list[1], $args.list[2]); }
Expand Down Expand Up @@ -696,7 +697,6 @@ atom returns[Entity value]
| 'hurwitzzeta(' args = function_arguments ')' { $value = NotImplementedFunction("hurwitzzeta", "Hurwitz zeta function yet"); }
| 'lambertw(' args = function_arguments ')' { $value = NotImplementedFunction("lambertw", "Lambert W function yet"); }
| 'productlog(' args = function_arguments ')' { $value = NotImplementedFunction("productlog", "Lambert W function yet"); }
| 'forwarddifference(' args = function_arguments ')' { $value = NotImplementedFunction("forwarddifference", "forward difference yet"); }
/* Names that will not be functions, refused with the spelling to use: what they mean is
ambiguous between sources, or is already written exactly another way. */
| 'heaviside(' args = function_arguments ')' { $value = NotAFunctionHere("heaviside", "its value at 0 is 0, 1/2 or 1 by source; write iverson(x > 0), iverson(x >= 0) or (1 + sgn(x))/2"); }
Expand Down
2 changes: 1 addition & 1 deletion Sources/AngouriMath/Core/Antlr/AngouriMath.interp
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ null
'dot('
'cross('
'laplacian('
'forwarddifference('
'jacobian('
'hessian('
'resultant('
Expand All @@ -216,7 +217,6 @@ null
'hurwitzzeta('
'lambertw('
'productlog('
'forwarddifference('
'heaviside('
'unitstep('
'isprime('
Expand Down
38 changes: 19 additions & 19 deletions Sources/AngouriMath/Core/Antlr/AngouriMath.tokens
Original file line number Diff line number Diff line change
Expand Up @@ -433,25 +433,25 @@ WS=237
'dot('=196
'cross('=197
'laplacian('=198
'jacobian('=199
'hessian('=200
'resultant('=201
'conjugate('=202
'conj('=203
'arg('=204
'Re('=205
'Im('=206
're('=207
'real('=208
'im('=209
'imag('=210
'trunc('=211
'zeta('=212
'riemannzeta('=213
'hurwitzzeta('=214
'lambertw('=215
'productlog('=216
'forwarddifference('=217
'forwarddifference('=199
'jacobian('=200
'hessian('=201
'resultant('=202
'conjugate('=203
'conj('=204
'arg('=205
'Re('=206
'Im('=207
're('=208
'real('=209
'im('=210
'imag('=211
'trunc('=212
'zeta('=213
'riemannzeta('=214
'hurwitzzeta('=215
'lambertw('=216
'productlog('=217
'heaviside('=218
'unitstep('=219
'isprime('=220
Expand Down
130 changes: 65 additions & 65 deletions Sources/AngouriMath/Core/Antlr/AngouriMathLexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ public AngouriMathLexer(ICharStream input, TextWriter output, TextWriter errorOu
"'factorialpower('", "'risingfactorial('", "'iverson('", "'aleph('", "'erf('",
"'erfc('", "'erfi('", "'Ei('", "'li('", "'polygamma('", "'digamma('",
"'Si('", "'Ci('", "'Shi('", "'Chi('", "'det('", "'transpose('", "'dot('",
"'cross('", "'laplacian('", "'jacobian('", "'hessian('", "'resultant('",
"'conjugate('", "'conj('", "'arg('", "'Re('", "'Im('", "'re('", "'real('",
"'im('", "'imag('", "'trunc('", "'zeta('", "'riemannzeta('", "'hurwitzzeta('",
"'lambertw('", "'productlog('", "'forwarddifference('", "'heaviside('",
"'unitstep('", "'isprime('", "'pochhammer('", "'doublefactorial('", "'factorial2('",
"'cross('", "'laplacian('", "'forwarddifference('", "'jacobian('", "'hessian('",
"'resultant('", "'conjugate('", "'conj('", "'arg('", "'Re('", "'Im('",
"'re('", "'real('", "'im('", "'imag('", "'trunc('", "'zeta('", "'riemannzeta('",
"'hurwitzzeta('", "'lambertw('", "'productlog('", "'heaviside('", "'unitstep('",
"'isprime('", "'pochhammer('", "'doublefactorial('", "'factorial2('",
"'fractionalpart('", "'quotient('", "'domain('", "'piecewise('", "'apply('",
"'lambda('", null, null, null, null, "'NaN'"
};
Expand Down Expand Up @@ -359,18 +359,18 @@ static AngouriMathLexer() {
1,194,1,194,1,194,1,194,1,194,1,194,1,194,1,194,1,195,1,195,1,195,1,195,
1,195,1,196,1,196,1,196,1,196,1,196,1,196,1,196,1,197,1,197,1,197,1,197,
1,197,1,197,1,197,1,197,1,197,1,197,1,197,1,198,1,198,1,198,1,198,1,198,
1,198,1,198,1,198,1,198,1,198,1,199,1,199,1,199,1,199,1,199,1,199,1,199,
1,199,1,199,1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,200,
1,200,1,201,1,201,1,201,1,201,1,201,1,201,1,201,1,201,1,201,1,201,1,201,
1,202,1,202,1,202,1,202,1,202,1,202,1,203,1,203,1,203,1,203,1,203,1,204,
1,204,1,204,1,204,1,205,1,205,1,205,1,205,1,206,1,206,1,206,1,206,1,207,
1,207,1,207,1,207,1,207,1,207,1,208,1,208,1,208,1,208,1,209,1,209,1,209,
1,209,1,209,1,209,1,210,1,210,1,210,1,210,1,210,1,210,1,210,1,211,1,211,
1,211,1,211,1,211,1,211,1,212,1,212,1,212,1,212,1,212,1,212,1,212,1,212,
1,212,1,212,1,212,1,212,1,212,1,213,1,213,1,213,1,213,1,213,1,213,1,213,
1,213,1,213,1,213,1,213,1,213,1,213,1,214,1,214,1,214,1,214,1,214,1,214,
1,214,1,214,1,214,1,214,1,215,1,215,1,215,1,215,1,215,1,215,1,215,1,215,
1,215,1,215,1,215,1,215,1,216,1,216,1,216,1,216,1,216,1,216,1,216,1,216,
1,198,1,198,1,198,1,198,1,198,1,198,1,198,1,198,1,198,1,198,1,198,1,198,
1,198,1,198,1,199,1,199,1,199,1,199,1,199,1,199,1,199,1,199,1,199,1,199,
1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,201,1,201,1,201,
1,201,1,201,1,201,1,201,1,201,1,201,1,201,1,201,1,202,1,202,1,202,1,202,
1,202,1,202,1,202,1,202,1,202,1,202,1,202,1,203,1,203,1,203,1,203,1,203,
1,203,1,204,1,204,1,204,1,204,1,204,1,205,1,205,1,205,1,205,1,206,1,206,
1,206,1,206,1,207,1,207,1,207,1,207,1,208,1,208,1,208,1,208,1,208,1,208,
1,209,1,209,1,209,1,209,1,210,1,210,1,210,1,210,1,210,1,210,1,211,1,211,
1,211,1,211,1,211,1,211,1,211,1,212,1,212,1,212,1,212,1,212,1,212,1,213,
1,213,1,213,1,213,1,213,1,213,1,213,1,213,1,213,1,213,1,213,1,213,1,213,
1,214,1,214,1,214,1,214,1,214,1,214,1,214,1,214,1,214,1,214,1,214,1,214,
1,214,1,215,1,215,1,215,1,215,1,215,1,215,1,215,1,215,1,215,1,215,1,216,
1,216,1,216,1,216,1,216,1,216,1,216,1,216,1,216,1,216,1,216,1,216,1,217,
1,217,1,217,1,217,1,217,1,217,1,217,1,217,1,217,1,217,1,217,1,218,1,218,
1,218,1,218,1,218,1,218,1,218,1,218,1,218,1,218,1,219,1,219,1,219,1,219,
Expand Down Expand Up @@ -517,11 +517,11 @@ static AngouriMathLexer() {
1670,1,0,0,0,375,1674,1,0,0,0,377,1685,1,0,0,0,379,1694,1,0,0,0,381,1698,
1,0,0,0,383,1702,1,0,0,0,385,1707,1,0,0,0,387,1712,1,0,0,0,389,1717,1,
0,0,0,391,1728,1,0,0,0,393,1733,1,0,0,0,395,1740,1,0,0,0,397,1751,1,0,
0,0,399,1761,1,0,0,0,401,1770,1,0,0,0,403,1781,1,0,0,0,405,1792,1,0,0,
0,407,1798,1,0,0,0,409,1803,1,0,0,0,411,1807,1,0,0,0,413,1811,1,0,0,0,
415,1815,1,0,0,0,417,1821,1,0,0,0,419,1825,1,0,0,0,421,1831,1,0,0,0,423,
1838,1,0,0,0,425,1844,1,0,0,0,427,1857,1,0,0,0,429,1870,1,0,0,0,431,1880,
1,0,0,0,433,1892,1,0,0,0,435,1911,1,0,0,0,437,1922,1,0,0,0,439,1932,1,
0,0,399,1770,1,0,0,0,401,1780,1,0,0,0,403,1789,1,0,0,0,405,1800,1,0,0,
0,407,1811,1,0,0,0,409,1817,1,0,0,0,411,1822,1,0,0,0,413,1826,1,0,0,0,
415,1830,1,0,0,0,417,1834,1,0,0,0,419,1840,1,0,0,0,421,1844,1,0,0,0,423,
1850,1,0,0,0,425,1857,1,0,0,0,427,1863,1,0,0,0,429,1876,1,0,0,0,431,1889,
1,0,0,0,433,1899,1,0,0,0,435,1911,1,0,0,0,437,1922,1,0,0,0,439,1932,1,
0,0,0,441,1941,1,0,0,0,443,1953,1,0,0,0,445,1970,1,0,0,0,447,1982,1,0,
0,0,449,1998,1,0,0,0,451,2008,1,0,0,0,453,2016,1,0,0,0,455,2027,1,0,0,
0,457,2034,1,0,0,0,459,2046,1,0,0,0,461,2052,1,0,0,0,463,2094,1,0,0,0,
Expand Down Expand Up @@ -856,49 +856,49 @@ static AngouriMathLexer() {
5,108,0,0,1741,1742,5,97,0,0,1742,1743,5,112,0,0,1743,1744,5,108,0,0,1744,
1745,5,97,0,0,1745,1746,5,99,0,0,1746,1747,5,105,0,0,1747,1748,5,97,0,
0,1748,1749,5,110,0,0,1749,1750,5,40,0,0,1750,396,1,0,0,0,1751,1752,5,
106,0,0,1752,1753,5,97,0,0,1753,1754,5,99,0,0,1754,1755,5,111,0,0,1755,
1756,5,98,0,0,1756,1757,5,105,0,0,1757,1758,5,97,0,0,1758,1759,5,110,0,
0,1759,1760,5,40,0,0,1760,398,1,0,0,0,1761,1762,5,104,0,0,1762,1763,5,
101,0,0,1763,1764,5,115,0,0,1764,1765,5,115,0,0,1765,1766,5,105,0,0,1766,
1767,5,97,0,0,1767,1768,5,110,0,0,1768,1769,5,40,0,0,1769,400,1,0,0,0,
1770,1771,5,114,0,0,1771,1772,5,101,0,0,1772,1773,5,115,0,0,1773,1774,
5,117,0,0,1774,1775,5,108,0,0,1775,1776,5,116,0,0,1776,1777,5,97,0,0,1777,
1778,5,110,0,0,1778,1779,5,116,0,0,1779,1780,5,40,0,0,1780,402,1,0,0,0,
1781,1782,5,99,0,0,1782,1783,5,111,0,0,1783,1784,5,110,0,0,1784,1785,5,
106,0,0,1785,1786,5,117,0,0,1786,1787,5,103,0,0,1787,1788,5,97,0,0,1788,
1789,5,116,0,0,1789,1790,5,101,0,0,1790,1791,5,40,0,0,1791,404,1,0,0,0,
1792,1793,5,99,0,0,1793,1794,5,111,0,0,1794,1795,5,110,0,0,1795,1796,5,
106,0,0,1796,1797,5,40,0,0,1797,406,1,0,0,0,1798,1799,5,97,0,0,1799,1800,
5,114,0,0,1800,1801,5,103,0,0,1801,1802,5,40,0,0,1802,408,1,0,0,0,1803,
1804,5,82,0,0,1804,1805,5,101,0,0,1805,1806,5,40,0,0,1806,410,1,0,0,0,
1807,1808,5,73,0,0,1808,1809,5,109,0,0,1809,1810,5,40,0,0,1810,412,1,0,
0,0,1811,1812,5,114,0,0,1812,1813,5,101,0,0,1813,1814,5,40,0,0,1814,414,
1,0,0,0,1815,1816,5,114,0,0,1816,1817,5,101,0,0,1817,1818,5,97,0,0,1818,
1819,5,108,0,0,1819,1820,5,40,0,0,1820,416,1,0,0,0,1821,1822,5,105,0,0,
1822,1823,5,109,0,0,1823,1824,5,40,0,0,1824,418,1,0,0,0,1825,1826,5,105,
0,0,1826,1827,5,109,0,0,1827,1828,5,97,0,0,1828,1829,5,103,0,0,1829,1830,
5,40,0,0,1830,420,1,0,0,0,1831,1832,5,116,0,0,1832,1833,5,114,0,0,1833,
1834,5,117,0,0,1834,1835,5,110,0,0,1835,1836,5,99,0,0,1836,1837,5,40,0,
0,1837,422,1,0,0,0,1838,1839,5,122,0,0,1839,1840,5,101,0,0,1840,1841,5,
116,0,0,1841,1842,5,97,0,0,1842,1843,5,40,0,0,1843,424,1,0,0,0,1844,1845,
5,114,0,0,1845,1846,5,105,0,0,1846,1847,5,101,0,0,1847,1848,5,109,0,0,
1848,1849,5,97,0,0,1849,1850,5,110,0,0,1850,1851,5,110,0,0,1851,1852,5,
122,0,0,1852,1853,5,101,0,0,1853,1854,5,116,0,0,1854,1855,5,97,0,0,1855,
1856,5,40,0,0,1856,426,1,0,0,0,1857,1858,5,104,0,0,1858,1859,5,117,0,0,
1859,1860,5,114,0,0,1860,1861,5,119,0,0,1861,1862,5,105,0,0,1862,1863,
5,116,0,0,1863,1864,5,122,0,0,1864,1865,5,122,0,0,1865,1866,5,101,0,0,
1866,1867,5,116,0,0,1867,1868,5,97,0,0,1868,1869,5,40,0,0,1869,428,1,0,
0,0,1870,1871,5,108,0,0,1871,1872,5,97,0,0,1872,1873,5,109,0,0,1873,1874,
5,98,0,0,1874,1875,5,101,0,0,1875,1876,5,114,0,0,1876,1877,5,116,0,0,1877,
1878,5,119,0,0,1878,1879,5,40,0,0,1879,430,1,0,0,0,1880,1881,5,112,0,0,
1881,1882,5,114,0,0,1882,1883,5,111,0,0,1883,1884,5,100,0,0,1884,1885,
5,117,0,0,1885,1886,5,99,0,0,1886,1887,5,116,0,0,1887,1888,5,108,0,0,1888,
1889,5,111,0,0,1889,1890,5,103,0,0,1890,1891,5,40,0,0,1891,432,1,0,0,0,
1892,1893,5,102,0,0,1893,1894,5,111,0,0,1894,1895,5,114,0,0,1895,1896,
5,119,0,0,1896,1897,5,97,0,0,1897,1898,5,114,0,0,1898,1899,5,100,0,0,1899,
1900,5,100,0,0,1900,1901,5,105,0,0,1901,1902,5,102,0,0,1902,1903,5,102,
0,0,1903,1904,5,101,0,0,1904,1905,5,114,0,0,1905,1906,5,101,0,0,1906,1907,
5,110,0,0,1907,1908,5,99,0,0,1908,1909,5,101,0,0,1909,1910,5,40,0,0,1910,
102,0,0,1752,1753,5,111,0,0,1753,1754,5,114,0,0,1754,1755,5,119,0,0,1755,
1756,5,97,0,0,1756,1757,5,114,0,0,1757,1758,5,100,0,0,1758,1759,5,100,
0,0,1759,1760,5,105,0,0,1760,1761,5,102,0,0,1761,1762,5,102,0,0,1762,1763,
5,101,0,0,1763,1764,5,114,0,0,1764,1765,5,101,0,0,1765,1766,5,110,0,0,
1766,1767,5,99,0,0,1767,1768,5,101,0,0,1768,1769,5,40,0,0,1769,398,1,0,
0,0,1770,1771,5,106,0,0,1771,1772,5,97,0,0,1772,1773,5,99,0,0,1773,1774,
5,111,0,0,1774,1775,5,98,0,0,1775,1776,5,105,0,0,1776,1777,5,97,0,0,1777,
1778,5,110,0,0,1778,1779,5,40,0,0,1779,400,1,0,0,0,1780,1781,5,104,0,0,
1781,1782,5,101,0,0,1782,1783,5,115,0,0,1783,1784,5,115,0,0,1784,1785,
5,105,0,0,1785,1786,5,97,0,0,1786,1787,5,110,0,0,1787,1788,5,40,0,0,1788,
402,1,0,0,0,1789,1790,5,114,0,0,1790,1791,5,101,0,0,1791,1792,5,115,0,
0,1792,1793,5,117,0,0,1793,1794,5,108,0,0,1794,1795,5,116,0,0,1795,1796,
5,97,0,0,1796,1797,5,110,0,0,1797,1798,5,116,0,0,1798,1799,5,40,0,0,1799,
404,1,0,0,0,1800,1801,5,99,0,0,1801,1802,5,111,0,0,1802,1803,5,110,0,0,
1803,1804,5,106,0,0,1804,1805,5,117,0,0,1805,1806,5,103,0,0,1806,1807,
5,97,0,0,1807,1808,5,116,0,0,1808,1809,5,101,0,0,1809,1810,5,40,0,0,1810,
406,1,0,0,0,1811,1812,5,99,0,0,1812,1813,5,111,0,0,1813,1814,5,110,0,0,
1814,1815,5,106,0,0,1815,1816,5,40,0,0,1816,408,1,0,0,0,1817,1818,5,97,
0,0,1818,1819,5,114,0,0,1819,1820,5,103,0,0,1820,1821,5,40,0,0,1821,410,
1,0,0,0,1822,1823,5,82,0,0,1823,1824,5,101,0,0,1824,1825,5,40,0,0,1825,
412,1,0,0,0,1826,1827,5,73,0,0,1827,1828,5,109,0,0,1828,1829,5,40,0,0,
1829,414,1,0,0,0,1830,1831,5,114,0,0,1831,1832,5,101,0,0,1832,1833,5,40,
0,0,1833,416,1,0,0,0,1834,1835,5,114,0,0,1835,1836,5,101,0,0,1836,1837,
5,97,0,0,1837,1838,5,108,0,0,1838,1839,5,40,0,0,1839,418,1,0,0,0,1840,
1841,5,105,0,0,1841,1842,5,109,0,0,1842,1843,5,40,0,0,1843,420,1,0,0,0,
1844,1845,5,105,0,0,1845,1846,5,109,0,0,1846,1847,5,97,0,0,1847,1848,5,
103,0,0,1848,1849,5,40,0,0,1849,422,1,0,0,0,1850,1851,5,116,0,0,1851,1852,
5,114,0,0,1852,1853,5,117,0,0,1853,1854,5,110,0,0,1854,1855,5,99,0,0,1855,
1856,5,40,0,0,1856,424,1,0,0,0,1857,1858,5,122,0,0,1858,1859,5,101,0,0,
1859,1860,5,116,0,0,1860,1861,5,97,0,0,1861,1862,5,40,0,0,1862,426,1,0,
0,0,1863,1864,5,114,0,0,1864,1865,5,105,0,0,1865,1866,5,101,0,0,1866,1867,
5,109,0,0,1867,1868,5,97,0,0,1868,1869,5,110,0,0,1869,1870,5,110,0,0,1870,
1871,5,122,0,0,1871,1872,5,101,0,0,1872,1873,5,116,0,0,1873,1874,5,97,
0,0,1874,1875,5,40,0,0,1875,428,1,0,0,0,1876,1877,5,104,0,0,1877,1878,
5,117,0,0,1878,1879,5,114,0,0,1879,1880,5,119,0,0,1880,1881,5,105,0,0,
1881,1882,5,116,0,0,1882,1883,5,122,0,0,1883,1884,5,122,0,0,1884,1885,
5,101,0,0,1885,1886,5,116,0,0,1886,1887,5,97,0,0,1887,1888,5,40,0,0,1888,
430,1,0,0,0,1889,1890,5,108,0,0,1890,1891,5,97,0,0,1891,1892,5,109,0,0,
1892,1893,5,98,0,0,1893,1894,5,101,0,0,1894,1895,5,114,0,0,1895,1896,5,
116,0,0,1896,1897,5,119,0,0,1897,1898,5,40,0,0,1898,432,1,0,0,0,1899,1900,
5,112,0,0,1900,1901,5,114,0,0,1901,1902,5,111,0,0,1902,1903,5,100,0,0,
1903,1904,5,117,0,0,1904,1905,5,99,0,0,1905,1906,5,116,0,0,1906,1907,5,
108,0,0,1907,1908,5,111,0,0,1908,1909,5,103,0,0,1909,1910,5,40,0,0,1910,
434,1,0,0,0,1911,1912,5,104,0,0,1912,1913,5,101,0,0,1913,1914,5,97,0,0,
1914,1915,5,118,0,0,1915,1916,5,105,0,0,1916,1917,5,115,0,0,1917,1918,
5,105,0,0,1918,1919,5,100,0,0,1919,1920,5,101,0,0,1920,1921,5,40,0,0,1921,
Expand Down
4 changes: 2 additions & 2 deletions Sources/AngouriMath/Core/Antlr/AngouriMathLexer.interp

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions Sources/AngouriMath/Core/Antlr/AngouriMathLexer.tokens
Original file line number Diff line number Diff line change
Expand Up @@ -433,25 +433,25 @@ WS=237
'dot('=196
'cross('=197
'laplacian('=198
'jacobian('=199
'hessian('=200
'resultant('=201
'conjugate('=202
'conj('=203
'arg('=204
'Re('=205
'Im('=206
're('=207
'real('=208
'im('=209
'imag('=210
'trunc('=211
'zeta('=212
'riemannzeta('=213
'hurwitzzeta('=214
'lambertw('=215
'productlog('=216
'forwarddifference('=217
'forwarddifference('=199
'jacobian('=200
'hessian('=201
'resultant('=202
'conjugate('=203
'conj('=204
'arg('=205
'Re('=206
'Im('=207
're('=208
'real('=209
'im('=210
'imag('=211
'trunc('=212
'zeta('=213
'riemannzeta('=214
'hurwitzzeta('=215
'lambertw('=216
'productlog('=217
'heaviside('=218
'unitstep('=219
'isprime('=220
Expand Down
Loading
Loading