OnePointCompletion R¶
complet.spad line 138 [edit on github]
R: SetCategory
Adjunction of a complex infinity to a set. Date Created: 4 Oct 1989
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- coerce: Fraction Integer -> % if R has RetractableTo Fraction Integer
from CoercibleFrom Fraction Integer
- coerce: Integer -> % if R has RetractableTo Integer
from CoercibleFrom Integer
- coerce: R -> %
from CoercibleFrom R
- convert: % -> InputForm if R has ConvertibleTo InputForm
from ConvertibleTo InputForm
- finite?: % -> Boolean
finite?(x)
tests ifx
is finite.
- infinite?: % -> Boolean
infinite?(x)
tests ifx
is infinite.
- infinity: () -> %
infinity()
returns infinity.
- latex: % -> String
from SetCategory
- rational?: % -> Boolean if R has IntegerNumberSystem
rational?(x)
tests ifx
is a finite rational number.
- rational: % -> Fraction Integer if R has IntegerNumberSystem
rational(x)
returnsx
as a finite rational number. Error: ifx
is not a rational number.
- rationalIfCan: % -> Union(Fraction Integer, failed) if R has IntegerNumberSystem
rationalIfCan(x)
returnsx
as a finite rational number if it is one, “failed” otherwise.
- retract: % -> Fraction Integer if R has RetractableTo Fraction Integer
from RetractableTo Fraction Integer
- retract: % -> Integer if R has RetractableTo Integer
from RetractableTo Integer
- retract: % -> R
from RetractableTo R
- retractIfCan: % -> Union(Fraction Integer, failed) if R has RetractableTo Fraction Integer
from RetractableTo Fraction Integer
- retractIfCan: % -> Union(Integer, failed) if R has RetractableTo Integer
from RetractableTo Integer
- retractIfCan: % -> Union(R, failed)
from RetractableTo R
CoercibleFrom Fraction Integer if R has RetractableTo Fraction Integer
CoercibleFrom Integer if R has RetractableTo Integer
ConvertibleTo InputForm if R has ConvertibleTo InputForm
RetractableTo Fraction Integer if R has RetractableTo Fraction Integer
RetractableTo Integer if R has RetractableTo Integer