beautypg.com

Example – HP Prime Graphing Calculator User Manual

Page 418

background image

412

Functions and commands

reduced_conic

Takes a conic expression and returns a vector with the

following items:

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

A vector of the conic’s parametric equations

reduced_conic(Expr, [Vector])

Example:

reduced_conic(x^2+2*x-2*y+1) returns

ref

Returns the solution to a system of linear equations written in

matrix form.

ref(Matrix)

Example:

ref

returns

remove

Given an element and a list or vector, removes any occurrence

of that element in the list or vector and returns the result.

remove(Element, Vector) or
remove(Element, List)

Example:

remove(6,[1 2 6 7]) returns [1 2 7]

reorder

Given an expression and a vector of variables, reorders the

variables in the expression according to the order given in the

vector.

reorder(Expr, Vector)

Example:

reorder(x

2

+2*x+y

2

,[y,x]) gives y

2

+x

2

+2*x

x

i

x

x

i

y

x

x

x

x

i

x

x

i

x

y

)

(

2

1

)

(

1

1

2

2

1

.

0

4

4

2

1

1

2

1

0

1

1

0

0

1

2

2

3 1 2

3 2 2

1 1

3

--- 2

3

------

0 1 2