Random Returns a vector of the coefficients of a polynomial of degree Integer and where the coefficients are random integers in the range –99 through 99 with uniform distribution or in an interval specified by Interval. Use with poly2symbol to create a random polynomial in any variable.

randpoly(Integer, Interval, [Dist]), where Interval is of the form Real1..Real2.

Example:

randpoly(t, 8, -1..1) returns a vector of 9 random integers, all of them between –1 and 1.

Minimum With only a matrix as argument, returns the minimal polynomial in x of a matrix written as a list of its coefficients. With a matrix and a variable as arguments, returns the minimum polynomial of the matrix written in symbolic form with respect to the variable.

pmin(Mtrx,[Var])

Example:

pmin([[1,0],[0,1]],x) gives x-1

Algebra

Quotient Returns a vector containing the coefficients of the Euclidean quotient of two polynomials. The polynomials may be written as a list of coefficients or in symbolic form.

quo(List1, List2, [Var])

or

quo(Poly1, Poly2, [Var])

Example:

quo({1, 2, 3, 4}, {-1, 2}) returns [-1 -4 -11]

Remainder Returns a vector containing the coefficients of the remainder of the Euclidean quotient of two polynomials. The polynomials may be written as a list of coefficients or in symbolic form.

rem(List1, List2, [Var])

or

rem(Poly1, Poly2, [Var])

Example:

rem({1, 2, 3, 4}, {-1, 2}) returns [26]

342

Functions and commands

Page 348
Image 348
HP Prime Graphing NW280AAABA manual PminMtrx,Var, QuoList1, List2, Var QuoPoly1, Poly2, Var