Special – HP Prime Graphing Wireless Calculator User Manual

Page 140

Advertising
background image

136

Functions and commands

Special

Cyclotomic

Returns the list of coefficients of the cyclotomic polynomial of

an integer.

cyclotomic(Integer)

Example:

cyclotomic(20)

gives [1 0 –1 0 1 0 –1 0 1]

Groebner Basis

Given a vector of polynomials and a vector of variables,

returns the Groebner basis of the ideal spanned by the set of

polynomials.

gbasis([Poly1 Poly2…], [Var1 Var2…])

Example:

gbasis([x^2-y^3,x+y^2],[x,y])

returns

[y^4-

y^3,x+y^2]

Groebner

Remainder

Given a polynomial and both a vector of polynomials and a

vector of variables, returns the remainder of the division of the

polynomial by the Groebner basis of the vector of

polynomials.

greduce(Poly1, [Poly2 Poly3 …], [Var1
Var2…])

Example:

greduce(x*y-1,[x^2-y^2,2*x*y-y^2,y^3],[x,y])

returns

1/2*y^2-1

Hermite

Returns the Hermite polynomial of degree n, where n is an

integer less than 1556.

hermite(Integer)

Example:

hermite(3)

gives

8*x^3-12*x

Advertising