On Wed, Nov 7, 2012 at 2:05 PM, Stefan Krastanov <[email protected]
> wrote:

> > I think that it would be good to take a more general
> > approach and handle multi-valued expressions in the
> > same go. For example:
>
> I am against this. It is like reimplementing in a complicated way,
> what can be done simply with lists and for loops.
>
>
> > However we can only extract explicit values here ...
> > Even simplest constants are not supported yet:
> >
> >  RootOf(x**3-a, 1)
>
> Actually it works, you just need to be precise about the polynomial
> you are working with (Poly(x**3-a, x))
>

That only works because it can explicitly find the roots.  If it has to
represent the roots symbolically, it can't do it, because algebraic
functions are not yet supported in any way in the polys.  Try for
example RootOf((Poly(x**5-a*x + b, x)), 0).

Aaron Meurer


>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to