Révision 124 pobysoPythonSage/src/pobyso.py
pobyso.py (revision 124) | ||
---|---|---|
649 | 649 |
""" |
650 | 650 |
Convert a Sollya polynomial into a Sage polynomial. |
651 | 651 |
We assume that the polynomial is in canonical form. |
652 |
If no realField is given, a RealField corresponding to the maximum precision |
|
653 |
of the coefficients is internally computed. |
|
654 |
It is not returned but can be easily retrieved from the polynomial itself. |
|
655 |
Main steps: |
|
652 |
If no realField is given, a RealField corresponding to the maximum |
|
653 |
precision of the coefficients is internally computed. |
|
654 |
The real field is not returned but can be easily retrieved from |
|
655 |
the polynomial itself. |
|
656 |
ALGORITHM: |
|
656 | 657 |
- (optional) compute the RealField of the coefficients; |
657 | 658 |
- convert the Sollya expression into a Sage expression; |
658 | 659 |
- convert the Sage expression into a Sage polynomial |
Formats disponibles : Unified diff