I'm not an expert (newish sage user) but I think you want to use the solve
function with solution_dict=True. This will give your solutions as a
dictionary which can then be indexed in the normal way.

More about that on this page:

http://www.sagemath.org/doc/reference/sage/numerical/optimize.html

Vince

On 6 March 2012 18:36, Eric Kangas <eric.c.kan...@gmail.com> wrote:

> Ok I am solving the eigenvalues and vectors for a coupled DE. All I need
> to know is how to extract the solutions to the solve function. It turns out
> that there are four solutions. I would like to find a way to extract each
> of them instead of the cut and paste method. I tried the usual python index
> soln[0:1] also with the flatten command but that did not work.
>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to
> sage-support+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>



-- 
Dr Vincent Knight
Cardiff School of Mathematics
Senghennydd Road,
Cardiff
CF24 4AG
(+44) 29 2087 5548
www.vincent-knight.com
@drvinceknight <http://twitter.com/#!/drvinceknight>
Skype: drvinceknight

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to