Module pypol
pypol - a Python module to manage monomials and polynomials
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 3 of the License, or (at
your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this program. If not, see
<http://www.gnu.org/licenses/>.
Requires:
-
Python 2.5 or greater
-
gmpy 1.01 or greater: <http://gmpy.sourceforge.net/>
Author: Stefano Roberto Soleti Contact: robiweb90@gmail.com
| Classes |
AlgebraicFraction |
Provide object representing an algebraic fraction given numerator and
denominator, that could be Monomial or Polynomial instances or even
numbers. |
Monomial |
Provide a class representing a monomial given coefficient and
unknowns. |
Polynomial |
Provide a class representing a polynomial intended as a list of
monomials. |
Unknown |
Provide a class representing a monomial unknown. |
| Exceptions |
GMPYNotFound |
Raised when the module gmpy isn't found |
InvalidUnknowns |
Used when unknowns given for eval functions are different from
object's unknowns |
NotValidDegree |
Used to indicate a not valid unknown's degree for an Unknown
instance |
NotValidLetter |
Used to indicate a not valid unknown's letter for an Unknown
instance |