#include <iostream>
using std::cout; using std::endl;
#include "fields.hpp"
#include "monomial.hpp"
#include "fields.hpp"
#include "polynomial_ring.hpp"
#include "indeterminate.hpp"
int main()
{
DEG_TYPE a [] = {1, 0, 5, 2, 0};
cout << "t = " << t << endl;
cout << "u = " << u << endl << endl;
cout <<
"lcm(t,u) = " << t.
lcm(u) << endl;
cout <<
"lcm(u,t) = " << u.
lcm(t) << endl;
cout <<
"gcd(t,u) = " << t.
gcd(u) << endl;
cout <<
"gcd(u,t) = " << u.
gcd(t) << endl;
w *= u;
cout << "tu = " << w << endl;
cout << endl << "v = " << v << endl;
tv /= t;
cout << "lcm(t,v)/t = " << tv << endl;
cout << smaller << " < " << larger << " ? " << (smaller < larger) << endl;
cout << larger << " < " << smaller << " ? " << (larger < smaller) << endl;
string var_names [] = { "x", "y" };
x2.
print(
true, cout, var_names);
xy.
print(
true, cout, var_names);
x3y_first.
print(
false, cout, var_names); cout <<
',';
x3y_second.
print(
true, cout, var_names);
free(X);
}