Functions and commands 413
reciprocation Returns the list where the point is replaced with its polar and
the line is replaced with its pole with respect to the circle.
reciprocation(Crcle,Lst(Pnt,Line))
rectangle Draws the rectangle ABCD, where, if k is provided, AD=k*AB
if k>0, and where, if k and P are provided, the rectangle is in
the plane ABP with AD=AP and AD=k*AB.
rectangle(Pnt(A)||Cplx,Pnt(B)||Cplx,Real(k)||
Pnt(P)||Lst(P,k),[Var(D)],[Var(C)])
rectangular_
coordinat
Returns the list of the abscissas and of the ordinates of points
given by a list of their polar coordinates.
rectangular_coordinates(LstPolCoord)
Example:
rectangular_coordinates([1,-1]) gives [cos(1),-
sin(1)]
red Used with display to specify the color of the geometrical
object to be displayed.
reduced_conic Takes a conic expression and a vector of , and returns the
origin of the conic, the matrix of a basis in which the conic is
reduced, 0 or 1 (0 if the conic is degenerate), the reduced
equation of the conic, and a vector of the conic’s parametric
equations.
reduced_conic(Expr,[LstVar])
Example:
reduced_conic(x^2+2*x-2*y+1) gives [[-
1,0],[[0,1],[-1,0]],1,y^2+2*x,[[-1+(-i)*(t*t/
-2+(i)*t),t,-4,4,0.1]]]
ref Returns the solution to a system of linear equations written in
matrix form.
ref(Mtrx(M))
Example:
ref([[3,1,-2],[3,2,2]]) gives [[1,1/3,-2/
3],[0,1,4]]