2 #include <barvinok/NTL_QQ.h>
4 NTL_vector_impl(QQ
,vec_QQ
);
6 vec_QQ
& operator *= (vec_QQ
& a
, const ZZ
& b
)
8 for (int i
= 0; i
< a
.length(); ++i
)
13 std::ostream
& operator<< (std::ostream
& os
, const QQ
& q
)
15 os
<< q
.n
<< "/" << q
.d
;
19 std::istream
& operator>> (std::istream
& is
, QQ
& q
)
22 is
>> q
.n
>> slash
>> q
.d
;
27 NTL_io_vector_impl(QQ
,vec_QQ
);