Example, Ref performs gaussian reduction of a matrix, Examples – HP Prime Graphing Wireless Calculator User Manual

Page 208: Returns, Restart purges all the variables

Advertising
background image

204

Functions and commands

Example:

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

ref

Performs Gaussian reduction of a matrix.

ref(Matrix)

Example:

ref

returns

remove

Given a vector or list, removes the occurrences of Value or
removes the values that make Test true and returns the
resulting vector or list.

remove(Value, List) or remove(Test, List)

Examples:

remove(5,{1,2,5,6,7,5}) returns {1,2,6,7}

remove(x→x≥5, [1 2 5 6 7 5]) returns [1 2]

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

residue

Returns the residue of an expression at a value.

residue(Expr, Var, Value)

Example:

residue(1/z,z,0)

returns

1

restart

Purges all the variables.

restart(NULL)

resultant

Returns the resultant (i.e. the determinant of the Sylvester

matrix) of two polynomials.

resultant(Poly1, Poly2, Var)

[

]

[

]

+

+

+

+

+

+

+

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 13---

2

3

------

0 1 2

Advertising