| 1 | initial version |
Whenever in doubt about the output of a function, use help or `?``
to check its documentation.
Here, you can do:
sage: help(f.roots)
sage: f.roots?
and this will display the documentation for f.roots,
which documents that it returns pairs (root, multiplicity),
and explains how to use an optional argument to not
display the mutiplicities.
To skip the multiplicities:
f.roots(multiplicities=False)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.