MKPOLY INDEX

MKPOLY _ _ _ _ _ _ _ _ _ _ _ _ operator

Given a roots list as returned by roots, the operator mkpoly constructs a polynomial which has these numbers as roots.

syntax:

mkpoly<rl>

where <rl> is a list with equations, which all have the same kernel on their left-hand sides and numbers as right-hand sides.

examples:


mkpoly{x=1,x=-2,x=i,x=-i};

  x**4 + x**3 - x**2 + x - 2

Note that this polynomial is unique only up to a numeric factor.