Numerator
Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand.
Numerator of an expression
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
Numerator!Numerator(number) -> nothing | numberNumerator of an expressionJulia
numerator(number)Rustnumerator(number)Typed signatures
| Type | Package | Applies |
|---|---|---|
(number) -> nothing | number | compute-engine | always |
(number, any*) -> nothing | number | number-theoryreplaces residues | always |
(number, any*) -> nothing | number | residuesreplaces compute-engine | always |
(value) -> value | adelesreplaces number-theory | on ProfiniteNumber |
Details
Over -> QuotientRing(Integers, p)(Wolfram'sModulus -> p, p prime) reads the expression over the field (@enumeratio/residues): a quotient in lowest terms over with integer coefficients, then its coefficients mod p. A constant denominator, and a monomial one when no polynomial divides anywhere, moves its unit into the numerator ( mod 7). It stays unevaluated where Wolfram has no answer, as for a denominator that vanishes mod p. It threads over a list. The unit of a denominator of several terms follows Wolfram's convention for a single unknown; with several unknowns the result may differ from Wolfram's by a unit (the same function).Over -> Integersis the ordinary numerator.
Examples
1 more kept as data, checked against the oraclesAbout
| Examples | 13 |
|---|---|
| Checked against | Wolfram Language 10 agree2 differSageMath 8 agree3 differJulia 4 agree1 differ1 errorRust 4 agree1 differ |
| Crosswalk | Wolfram LanguageJuliaRust |
Implementation
mapped
sagepackages/oracle/src/mappings.tsGeneric -- works for a plain rational/integer and for a ProfiniteNumber's Sage counterpart (Qhat) alike.
mapped
juliapackages/oracle/src/mappings.tsmapped
rustpackages/oracle/src/mappings.ts