1.C++ interface
Quotient fields are implemented within the class quotient from quotient.hpp.
#include <numerix/rational.hpp>
#include <algebramix/polynomial.hpp>
#define rational C
#define polynomial<C> UP
#define quotient<UP,UP> UF
…
UP p =…, q =…;
UF f (p, q); // Rational function p / q |
2.Mathemagix
interface
Mmx] |
x == polynomial (0, 1) |
:
:
© 2010 Grégoire Lecerf
Permission is granted to copy, distribute and/or modify this document
under the terms of the
GNU General Public License. If you
don't have this file, write to the Free Software Foundation, Inc., 59
Temple Place - Suite 330, Boston, MA 02111-1307, USA.