NMPadicNumberCategory R¶
jnpadic.spad line 1 [edit on github]
This category provides representations of the :code:p-adic numbers using the Nemo Julia package.
- 0: %
from AbelianMonoid
- 1: %
from MagmaWithUnit
- *: (%, %) -> %
p * qis the product of twop-adic numbers.- *: (%, Fraction Integer) -> % if % has CharacteristicZero
from RightModule Fraction Integer
- *: (%, NMFraction NMInteger) -> %
x * qis the multiplication of ap-adic number and a Julia Nemo Fraction integer.
- *: (%, NMInteger) -> %
x * iis the multiplication of an Integer and ap-adic number.- *: (Fraction Integer, %) -> % if % has CharacteristicZero
from LeftModule Fraction Integer
- *: (Integer, %) -> %
from AbelianGroup
- *: (NMFraction NMInteger, %) -> %
q * xis the multiplication of a Julia Nemo Fraction integer and ap-adic number.
- *: (NMInteger, %) -> %
i * xis the multiplication of a NemoInteger and ap-adic number.- *: (NMInteger, %) -> JLObject
from JLObjectRing
- *: (NonNegativeInteger, %) -> %
from AbelianMonoid
- *: (PositiveInteger, %) -> %
from AbelianSemiGroup
- +: (%, %) -> %
p + qis the sum of twop-adic numbers.
- +: (%, NMFraction NMInteger) -> %
x + qis the addition of ap-adic number and a Julia Nemo Fraction integer.
- +: (%, NMInteger) -> %
x + iis the addition of ap-adic number and a Julia Nemo integer.
- +: (NMFraction NMInteger, %) -> %
q + xis the addition of a Julia Nemo Fraction integer and ap-adic number.
- +: (NMInteger, %) -> %
i + xis the addition of a Julia Nemo Integer and ap-adic number.
- -: % -> %
from AbelianGroup
- -: (%, %) -> %
p - qis the difference of twop-adic numbers.
- /: (%, %) -> %
p / qis the division of twop-adic numbers.
- ^: (%, %) -> %
- ^: (%, Fraction Integer) -> %
from RadicalCategory
- ^: (%, Integer) -> %
from DivisionRing
- ^: (%, NonNegativeInteger) -> %
from MagmaWithUnit
- ^: (%, PositiveInteger) -> %
from Magma
- annihilate?: (%, %) -> Boolean
from Rng
- antiCommutator: (%, %) -> %
- approximate: (%, Integer) -> R
approximate(x, n)returns an integerysuch thaty = x (mod p^n)whennis positive, and 0 otherwise.
- associates?: (%, %) -> Boolean
from EntireRing
- associator: (%, %, %) -> %
from NonAssociativeRng
- characteristic: () -> NonNegativeInteger
from NonAssociativeRing
- coerce: % -> %
from Algebra %
- coerce: % -> JLObject
from JLObjectType
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- coerce: Fraction Integer -> % if % has CharacteristicZero
- coerce: Integer -> %
from NonAssociativeRing
- commutator: (%, %) -> %
from NonAssociativeRng
- convert: % -> String
from ConvertibleTo String
- divide: (%, %) -> Record(quotient: %, remainder: %)
from EuclideanDomain
- euclideanSize: % -> NonNegativeInteger
from EuclideanDomain
- exactDivide: (%, %) -> %
from NMRing
- exp: % -> %
- expressIdealMember: (List %, %) -> Union(List %, failed)
from PrincipalIdealDomain
- exquo: (%, %) -> Union(%, failed)
from EntireRing
- extendedEuclidean: (%, %) -> Record(coef1: %, coef2: %, generator: %)
from EuclideanDomain
- extendedEuclidean: (%, %, %) -> Union(Record(coef1: %, coef2: %), failed)
from EuclideanDomain
- gcdPolynomial: (SparseUnivariatePolynomial %, SparseUnivariatePolynomial %) -> SparseUnivariatePolynomial %
from GcdDomain
- inv: % -> %
from DivisionRing
- jlAbout: % -> Void
from JLObjectType
- jlApply: (String, %) -> JLObject
from JLObjectType
- jlApply: (String, %, %) -> JLObject
from JLObjectType
- jlApply: (String, %, %, %) -> JLObject
from JLObjectType
- jlApply: (String, %, %, %, %) -> JLObject
from JLObjectType
- jlApply: (String, %, %, %, %, %) -> JLObject
from JLObjectType
- jlDisplay: % -> Void
from JLObjectType
- jlDump: JLObject -> Void
from JLObjectType
- jlFieldNames: % -> JLObject
from JLObjectType
- jlGetField: (%, JLSymbol) -> JLObject
from JLObjectType
- jlGetJuliaIndex: % -> String
from JLObjectType
- jlGetProperty: (%, JLSymbol) -> JLObject
from JLObjectType
- jlId: % -> JLInt64
from JLObjectType
- jlimref: String -> %
from JLObjectType
- jlObject: () -> String
from JLObjectType
- jlPropertyNames: % -> JLObject
from JLObjectType
- jlRef: % -> SExpression
from JLObjectType
- jlref: String -> %
from JLObjectType
- jlText: (%, String) -> List String
from JLObjectType
- jlType: % -> Symbol
from JLObjectType
- latex: % -> String
from SetCategory
- lcmCoef: (%, %) -> Record(llcm_res: %, coeff1: %, coeff2: %)
from LeftOreRing
- leftPower: (%, NonNegativeInteger) -> %
from MagmaWithUnit
- leftPower: (%, PositiveInteger) -> %
from Magma
- leftRecip: % -> Union(%, failed)
from MagmaWithUnit
- log: % -> %
- missing?: % -> Boolean
from JLObjectType
- modulus: () -> Integer
modulus()returns the modulus.
- multiEuclidean: (List %, %) -> Union(List %, failed)
from EuclideanDomain
- mutable?: % -> Boolean
from JLObjectType
- nothing?: % -> Boolean
from JLObjectType
- nthRoot: (%, Integer) -> %
from RadicalCategory
- one?: % -> Boolean
from MagmaWithUnit
- opposite?: (%, %) -> Boolean
from AbelianMonoid
- order: % -> Integer
order(x)returns the exponent of the highest power ofpdividingx.
- plenaryPower: (%, PositiveInteger) -> %
from NonAssociativeAlgebra %
- precision: % -> Integer
precision(x)returns the precision used forx.
- prime: % -> Integer
prime(x)returns the modulus used forx.
- principalIdeal: List % -> Record(coef: List %, generator: %)
from PrincipalIdealDomain
- quo: (%, %) -> %
from EuclideanDomain
- recip: % -> Union(%, failed)
from MagmaWithUnit
- rem: (%, %) -> %
from EuclideanDomain
- rightPower: (%, NonNegativeInteger) -> %
from MagmaWithUnit
- rightPower: (%, PositiveInteger) -> %
from Magma
- rightRecip: % -> Union(%, failed)
from MagmaWithUnit
- sample: %
from AbelianMonoid
- sizeLess?: (%, %) -> Boolean
from EuclideanDomain
- sqrt: % -> %
from RadicalCategory
- squareFree: % -> Factored %
- squareFreePart: % -> %
- subtractIfCan: (%, %) -> Union(%, failed)
- unitCanonical: % -> %
from EntireRing
- unitNormal: % -> Record(unit: %, canonical: %, associate: %)
from EntireRing
- valuation: % -> JLObjInt64
valuation(x)is the valuation ofx.
- zero?: % -> Boolean
from AbelianMonoid
Algebra %
Algebra Fraction Integer if % has CharacteristicZero
BiModule(%, %)
BiModule(Fraction Integer, Fraction Integer) if % has CharacteristicZero
LeftModule Fraction Integer if % has CharacteristicZero
Module %
Module Fraction Integer if % has CharacteristicZero
NonAssociativeAlgebra Fraction Integer if % has CharacteristicZero
RightModule Fraction Integer if % has CharacteristicZero