NonNegativeRational

fraction.spad line 602 [edit on github]

NonNegativeRational is domain of nonnegative rational numbers.

* : (%, %) -> %
from LeftModule(%)
* : (NonNegativeInteger, %) -> %
from AbelianMonoid
* : (PositiveInteger, %) -> %
from AbelianSemiGroup
+ : (%, %) -> %
from AbelianSemiGroup
0 : () -> %
from AbelianMonoid
1 : () -> %
from MagmaWithUnit
< : (%, %) -> Boolean
from PartialOrder
<= : (%, %) -> Boolean
from PartialOrder
= : (%, %) -> Boolean
from BasicType
> : (%, %) -> Boolean
from PartialOrder
>= : (%, %) -> Boolean
from PartialOrder
^ : (%, NonNegativeInteger) -> %
from MagmaWithUnit
^ : (%, PositiveInteger) -> %
from Magma
antiCommutator : (%, %) -> %
from NonAssociativeSemiRng
coerce : % -> OutputForm
from CoercibleTo(OutputForm)
convert : % -> InputForm
from ConvertibleTo(InputForm)
inf : (%, %) -> %
from OrderedAbelianMonoidSup
latex : % -> String
from SetCategory
leftPower : (%, NonNegativeInteger) -> %
from MagmaWithUnit
leftPower : (%, PositiveInteger) -> %
from Magma
leftRecip : % -> Union(%, "failed")
from MagmaWithUnit
max : (%, %) -> %
from OrderedSet
min : (%, %) -> %
from OrderedSet
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")
from CancellationAbelianMonoid
sup : (%, %) -> %
from OrderedAbelianMonoidSup
zero? : % -> Boolean
from AbelianMonoid
~= : (%, %) -> Boolean
from BasicType

OrderedSet

RightModule(%)

Monoid

SemiGroup

OrderedCancellationAbelianMonoid

CancellationAbelianMonoid

LeftModule(%)

OrderedAbelianMonoidSup

BasicType

Magma

NonAssociativeSemiRng

SemiRing

NonAssociativeSemiRing

SetCategory

AbelianSemiGroup

Comparable

CommutativeStar

AbelianMonoid

OrderedAbelianMonoid

BiModule(%, %)

PartialOrder

TwoSidedRecip

MagmaWithUnit

CoercibleTo(OutputForm)

SemiRng

OrderedAbelianSemiGroup

ConvertibleTo(InputForm)