-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I added a bunch of WMA builtins that aren't in Mathics yet: - NumberDigit - BellB - EulerE - JacobiSymbol - KroneckerSymbol - LucasL - PolygonalNumber - SquaresR - LinearRecurrence - ~~RootSum~~ I think this one needs some more work for converting to sympy - SeriesCoefficient - DivisorSigma - DivisorSum - IntegerPart - IntegerPartitions - MersennePrimeExponent - MoebiusMu - PowersRepresentations - HypergeometricU - LambertW - Subfactorial - PolyLog - ReverseSort I also expanded the functionality of a few existing builtins to match the behaviour of WMA: - handle non-integer bounds in Sum - fixed a bug in RealDigits where it would report the wrong number of digits for powers of 10 (or whatever base is specified) - support Fibonacci polynomials - support symbolic bounds in Table (and other IterationFunctions) - support providing SeriesData to CoefficientList - added the listable attribute to a few functions - allow supplying a precision when calling `N[]` on a complex number I can split some of these out into separate PRs if they need more work to merge. I've started setting up some automated tests to pull all the Mathematica programs listed in OEIS and check that Mathics can evaluate them to the correct sequence values - these are all just the low hanging fruit that fell out of doing that for the first couple of hundred sequences. --------- Co-authored-by: Juan Mauricio Matera <[email protected]>
- Loading branch information
Showing
16 changed files
with
354 additions
and
35 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
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
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
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
Oops, something went wrong.