4 #include <barvinok/NTL.h>
13 /* This is not thread-safe, but neither is NTL */
29 QQ
& operator += (const QQ
& a
) {
34 return canonicalize();
37 QQ
& operator *= (const QQ
& a
) {
40 return canonicalize();
43 QQ
& operator *= (const ZZ
& a
) {
49 NTL_vector_decl(QQ
,vec_QQ
);
51 vec_QQ
& operator *= (vec_QQ
& a
, const ZZ
& b
);
52 vec_QQ
& operator *= (vec_QQ
& a
, const QQ
& b
);
54 std::ostream
& operator<< (std::ostream
& os
, const QQ
& q
);
55 std::istream
& operator>> (std::istream
& os
, QQ
& q
);
57 NTL_io_vector_decl(QQ
,vec_QQ
);