beautypg.com

HP Prime Graphing Wireless Calculator User Manual

Page 213

background image

Functions and commands

209

Example:

sturmseq(x^3-1,x) gives [1 [[1 0 0 -1] [3 0 0] 9] 1]

subMat

Extracts from a matrix a sub matrix whose diagonal is defined

by four integers. The first two integers define the row and

column of the first element and the last two integers define the

row and column of the last element of the sub matrix.

subMat(Matrix, Int1, Int2, Int3, Int4)

Example:

subMat

returns

suppress

Given a list and an element, deletes the first occurrence of the

element in the list (if there is one) and returns the result.

suppress(List, Element)

Example:

suppress([0 1 2 3 2],2) returns [0 1 3 2]

surd

Given an expression and an integer n, returns the expression

raised to the power 1/n.

surd(Expr, Integer)

Example:

surd(8,3)

gives

2

sylvester

Returns the Sylvester matrix of two polynomials.

sylvester(Poly1, Poly2, Var)

Example:

sylvester(x

2

-1,x

3

-1,x)

gives

table

Defines an array where the indexes are strings or real

numbers.

table(SeqEqual(index_name=element_value))

1 2
3 4
5 6

2 1 3 2

, , , ,

3 4
5 6

1 0 1

0 0

0 1 0 1

0

0 0 1 0 1

1 0 0 1

0

0 1 0 0 1