4 #include <barvinok/NTL.h>
11 /* This is not thread-safe, but neither is NTL */
27 QQ
& operator += (const QQ
& a
) {
32 return canonicalize();
35 QQ
& operator *= (const QQ
& a
) {
38 return canonicalize();
41 QQ
& operator *= (const ZZ
& a
) {
47 #ifdef NTL_vector_decl
48 NTL_vector_decl(QQ
,vec_QQ
);
50 typedef Vec
<QQ
> vec_QQ
;
53 vec_QQ
& operator *= (vec_QQ
& a
, const ZZ
& b
);
54 vec_QQ
& operator *= (vec_QQ
& a
, const QQ
& b
);
56 std::ostream
& operator<< (std::ostream
& os
, const QQ
& q
);
57 std::istream
& operator>> (std::istream
& os
, QQ
& q
);
59 #ifdef NTL_io_vector_decl
60 NTL_io_vector_decl(QQ
,vec_QQ
);