next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
home
QQ -- the class of all rational numbers
Description
i1 : 1/2 + 3/5 11 o1 = -- 10 o1 : QQ
Functions and methods returning a rational number :
gcd(QQ,QQ), see
gcd
-- greatest common divisor
gcd(ZZ,QQ), see
gcd
-- greatest common divisor
Methods that use a rational number :
factor(QQ), see
factor(RingElement)
-- factor a ring element
ideal(QQ), see
ideal(RingElement)
-- make an ideal
For the programmer
The object
QQ
is
a
ring
, with ancestor classes
Number
<
Thing
.