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