Quotient fields |
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
Mmx]
x == polynomial (0, 1)
:
Mmx]
quotient (1 + x, x)
: