beautypg.com

Basic – HP Prime Graphing Calculator User Manual

Page 484

background image

478

Matrices

Vandermonde

Returns the Vandermonde matrix. Given a vector [n1, n2
… nj
], returns a matrix whose first row is [(n1)

0

, (n1)

1

,

(n1)

2

, …,(n1)

j-1

]. The second row is [(n2)

0

, (n2)

1

, (n2)

2

,

…,(n2)

j-1

], etc.

vandermonde(vector)

Example:

vandermonde([1 3 5]) returns

Basic

Norm

Returns the Frobenius norm of a matrix.

|matrix|
Example:

returns 5.47722557505

Row Norm

Row Norm. Finds the maximum value (over all rows) for
the sums of the absolute values of all elements in a row.

ROWNORM(matrix)

Example:

ROWNORM

returns 7

Column Norm

Column Norm. Finds the maximum value (over all
columns) of the sums of the absolute values of all elements
in a column.

COLNORM(matrix)

Example:

COLNORM

returns 6

1 1 1
1 3 9
1 5 25

1 2
3 4

1 2
3 4

1 2
3 4