next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
home
RR -- the class of all real numbers
Description
A real number is entered as a sequence of decimal digits with a point.
i1 : 3.14159 o1 = 3.14159 o1 : RR
Functions and methods returning a real number :
acos(RR), see
acos
-- compute the arccosine
acos(ZZ), see
acos
-- compute the arccosine
asin(RR), see
asin
-- compute the arcsine
asin(ZZ), see
asin
-- compute the arcsine
atan(RR)
-- compute the arctangent of a number
atan(ZZ), see
atan(RR)
-- compute the arctangent of a number
atan(RR,RR)
-- compute an angle of a certain triangle
cos(RR), see
cos
-- compute the cosine
cos(ZZ), see
cos
-- compute the cosine
cosh(RR), see
cosh
-- compute the hyperbolic cosine
cosh(ZZ), see
cosh
-- compute the hyperbolic cosine
exp(RR), see
exp
-- exponential function
exp(ZZ), see
exp
-- exponential function
log(RR), see
log
-- logarithm function
log(ZZ), see
log
-- logarithm function
random(RR)
-- random real number
sin(RR), see
sin
-- compute the sine
sin(ZZ), see
sin
-- compute the sine
sinh(RR), see
sinh
-- compute the hyperbolic sine
sinh(ZZ), see
sinh
-- compute the hyperbolic sine
sqrt(RR), see
sqrt
-- square root function
sqrt(ZZ), see
sqrt
-- square root function
tan(RR), see
tan
-- compute the tangent
tan(ZZ), see
tan
-- compute the tangent
tanh(RR), see
tanh
-- compute the hyperbolic tangent
tanh(ZZ), see
tanh
-- compute the hyperbolic tangent
Methods that use a real number :
floor(RR), see
floor
-- floor function
randomMutableMatrix(ZZ,ZZ,RR,ZZ)
-- a random mutable matrix of integers
Fixed objects of class RR :
pi
-- the number 'pi'
For the programmer
The object
RR
is
a
ring
, with ancestor classes
Number
<
Thing
.