Currently Genius can handle polynomials of one variable written out
as vectors, and do some basic operations with these. It is planned to
expand this support further.
polynomials in one variable are just horizontal vectors with value only nodes.
The power of the term is the position in the vector, with the first position
being 0. So,
translates to a polynomial of
You can add, subtract and multiply polynomials using the
MultiplyPoly functions respectively.
You can print a polynomial using the
You can also get a function representation of the polynomial so that you can
evaluate it. This is done by using
returns an anonymous function.
f = PolyToFunction([0,1,1])
It is also possible to find roots of polynomials of degrees 1 through 4 by using the
which calls the appropriate formula function. Higher degree polynomials must be converted to
functions and solved
numerically using a function such as
See the Section called Polynomials in the Chapter called List of GEL functions in the function list
for the rest of functions acting on polynomials.