Dear Maxima Community!
I need to access the last element of the list returned by 'allroots'
function. I have to to it for many equations with different number of
roots, so I can't just use brackets [] each time. My current solution
is to walk through the list in cycle and assign element values to some
variable. Example:
for x in roots do
l: x,
After that l will have value of the last element. I think there should
be better solution. I just can't find it using doc manuals/
Thanks in advance!
--
Hiisi.
Registered Linux User #487982. Be counted at: http://counter.li.org/
--
Spandex is a privilege, not a right.
--
SIP: hiisi at ekiga.net
------------------------------
pub 1024D/085B139A
--
Powered by Fedora:
http://fedoraproject.org/