Localize(M, R)ΒΆ

fraction.spad line 1 [edit on github]

Localize(M, R) produces fractions with numerators from an R module M and denominators being the nonzero elements of R.

0: %

from SetWithZero

*: (%, R) -> %

from RightModule R

*: (Integer, %) -> %

from AbelianGroup

*: (NonNegativeInteger, %) -> %

from AbelianMonoid

*: (PositiveInteger, %) -> %

from AbelianSemiGroup

*: (R, %) -> %

from LeftModule R

+: (%, %) -> %

from AbelianSemiGroup

-: % -> %

from AbelianGroup

-: (%, %) -> %

from AbelianGroup

/: (%, R) -> %

x / d divides the element x by d.

/: (M, R) -> %

m / d divides the element m by d.

=: (%, %) -> Boolean

from BasicType

~=: (%, %) -> Boolean

from BasicType

coerce: % -> OutputForm

from CoercibleTo OutputForm

denom: % -> R

denom x returns the denominator of x.

latex: % -> String

from SetCategory

numer: % -> M

numer x returns the numerator of x.

opposite?: (%, %) -> Boolean

from AbelianMonoid

sample: %

from SetWithZero

subtractIfCan: (%, %) -> Union(%, failed)

from CancellationAbelianMonoid

zero?: % -> Boolean

from SetWithZero

AbelianGroup

AbelianMonoid

AbelianSemiGroup

BasicType

BiModule(R, R)

CancellationAbelianMonoid

CoercibleTo OutputForm

LeftModule R

Module R

RightModule R

SetCategory

SetWithZero