HP Prime Graphing NW280AAABA manual JordanBlockExpr,n, JordanBlock7,3 returns 0 7 1 0 0, Hilbertn

Models: Prime Graphing NW280AAABA

1 616
Download 616 pages 24.49 Kb
Page 483
Image 483

Random Given two integers, n and m, and a matrix name, creates an n x m matrix that contains random integers in the range −99 through 99 with a uniform distribution and stores it in the matrix name.

randMat(MatrixName,n,m)

Example:

RANDMAT(M1,2,2) returns a 2x2 matrix with random integer elements, and stores it in M1.

Jordan Returns a square nxn matrix with expr on the diagonal, 1 above and 0 everywhere else.

JordanBlock(Expr,n)

Example:

7 1 0 JordanBlock(7,3) returns 0 7 1 0 0 7

Hilbert Given a positive integer, n, returns the nth order Hilbert matrix. Each element of the matrix is given by the formula 1/(j+k-1) where j is the row number and k is the column number.

hilbert(n)

 

1

1

 

Example:

1

1

 

-

-

-

 

 

2

3

4

 

1

1 1

1

In CAS view, hilbert(4) returns

- - - -

2 3 4

5

 

1

1

1

1

 

-

-

-

-

 

3

4

5

6

 

1

1

1

1

 

-

-

-

-

 

4

5

6

7

 

 

 

 

 

Isometric Matrix of an isometry given by its proper elements.

mkisom(vector,sign(1 or -1))

Example:

In CAS view, mkisom([1,2],1) returns

cos(1) sin(1)sin(1) cos(1)

Matrices

477

Page 483
Image 483
HP Prime Graphing NW280AAABA manual JordanBlockExpr,n, JordanBlock7,3 returns 0 7 1 0 0, Hilbertn, Cos1 -sin1sin1 cos1