JLObjRationalΒΆ
jimobject.spad line 563 [edit on github]
Convenience domain for Julia Rationals, objects that are used within Julia, and not directly by the underlying FriCAS Common Lisp. It is not meant to be used directly, but rather for returned value or function argument for example.
- 0: %
from AbelianMonoid
- 1: %
from MagmaWithUnit
- *: (%, Integer) -> %
x*iis the integer multiplication.
- *: (Integer, %) -> %
i*xis the integer multiplication.- *: (NMInteger, %) -> JLObject
from JLObjectRing
- *: (NonNegativeInteger, %) -> %
from AbelianMonoid
- *: (PositiveInteger, %) -> %
from AbelianSemiGroup
- +: (%, %) -> %
from AbelianSemiGroup
- +: (%, Integer) -> %
x+iis the addition with an integer.
- +: (Integer, %) -> %
i+xis the addition of an integer and a rational.
- -: % -> %
from AbelianGroup
- -: (%, %) -> %
from AbelianGroup
- -: (%, Integer) -> %
x-iis the subtraction of an integer.
- -: (Integer, %) -> %
i-xis the subtraction of a rational from an integer.
- /: (%, %) -> %
x/yis the division ofxbyy.
- /: (%, Integer) -> %
x/iis the division by an integer.
- /: (Integer, %) -> %
i/xis the division of an integer byx.
- <=: (%, %) -> Boolean
from PartialOrder
- <: (%, %) -> Boolean
from PartialOrder
- >=: (%, %) -> Boolean
from PartialOrder
- >: (%, %) -> Boolean
from PartialOrder
- ^: (%, Integer) -> %
x^iis the integer exponentiation.- ^: (%, NonNegativeInteger) -> %
from MagmaWithUnit
- ^: (%, PositiveInteger) -> %
from Magma
- annihilate?: (%, %) -> Boolean
from Rng
- antiCommutator: (%, %) -> %
- associates?: (%, %) -> Boolean
from EntireRing
- associator: (%, %, %) -> %
from NonAssociativeRng
- characteristic: () -> NonNegativeInteger
from NonAssociativeRing
- coerce: % -> JLObject
from JLObjectType
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- coerce: Fraction Integer -> %
coerce(p)returns a Julia Rational from the Fractionp.- coerce: Integer -> %
from NonAssociativeRing
- coerce: JLObject -> %
coerce(a)returns a Julia Rational from the JLObject a.
- coerce: String -> %
coerce(str)returns a Julia Rational from thestrcommand.
- commutator: (%, %) -> %
from NonAssociativeRng
- convert: % -> String
from ConvertibleTo String
- denominator: % -> Integer
denominator(p)returns the denominator of the rationalp.
- exquo: (%, %) -> Union(%, failed)
from EntireRing
- 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
- jrat: String -> %
jrat(str)returns the Julia Rational from thestrcommand.
- latex: % -> String
from SetCategory
- leftPower: (%, NonNegativeInteger) -> %
from MagmaWithUnit
- leftPower: (%, PositiveInteger) -> %
from Magma
- leftRecip: % -> Union(%, failed)
from MagmaWithUnit
- max: (%, %) -> %
from OrderedSet
- min: (%, %) -> %
from OrderedSet
- mutable?: % -> Boolean
from JLObjectType
- nothing?: % -> Boolean
from JLObjectType
- numerator: % -> Integer
numerator(p)returns the numerator of the rationalp.
- one?: % -> Boolean
from MagmaWithUnit
- opposite?: (%, %) -> Boolean
from AbelianMonoid
- recip: % -> Union(%, failed)
from MagmaWithUnit
- rightPower: (%, NonNegativeInteger) -> %
from MagmaWithUnit
- rightPower: (%, PositiveInteger) -> %
from Magma
- rightRecip: % -> Union(%, failed)
from MagmaWithUnit
- sample: %
from AbelianMonoid
- smaller?: (%, %) -> Boolean
from Comparable
- subtractIfCan: (%, %) -> Union(%, failed)
- unit?: % -> Boolean
from EntireRing
- unitCanonical: % -> %
from EntireRing
- unitNormal: % -> Record(unit: %, canonical: %, associate: %)
from EntireRing
- zero?: % -> Boolean
from AbelianMonoid
BiModule(%, %)