randperm Given a positive integer, returns a random permutation of [0,1,2,...,n–1].

randperm(Intg(n))

Example:

randperm(4) returns a random permutation of the elements of the vector [0 1 2 3]

ratnormal Rewrites an expression as an irreducible rational fraction.

ratnormal(Expr)

Example:

 

x

2

1

 

x + 1

ratnormal

3

returns

2

 

 

 

 

---------------

-------------------------

 

 

x

 

1

 

x + x + 1

reciprocation Given a circle and a vector containing points and lines, returns a vector containing the polar line of each point and the pole of each line, with respect to the circle.

reciprocation(Crcle,Lst(Pnt,Line))

Example:

reciprocation(circle(0,1), [line(1+i, 2),

point(1+i*2)]) returns

point

1

1

line

1

1

--, ---

y = –---

x + --

 

2

2

 

2

2

rectangular_ Given a vector containing the polar coordinates of a point, coordinate returns a vector containing the rectangular coordinates of the

point.

rectangular_coordinates(Vector)

Example:

rectangular_coordinates([1, π/4]) returns

2

2

-------

-------

2

2

red Used in the Symbolic view of the Geometry app. In the definition of a geometric object, including the statement “display=red” specifies that the object defined will be drawn in red.

Functions and commands

411

Page 417
Image 417
HP Prime Graphing NW280AAABA manual ⎠ returns