1use libc::*;
4use crate::deps::*;
5use crate::flint::*;
6
7
8extern "C" {
9 pub fn _fmpq_vec_init(len: slong) -> *mut fmpq;
10 pub fn _fmpq_vec_clear(vec: *mut fmpq, len: slong);
11 pub fn _fmpq_vec_randtest(
12 f: *mut fmpq,
13 state: *mut flint_rand_struct,
14 len: slong,
15 bits: flint_bitcnt_t,
16 );
17 pub fn _fmpq_vec_randtest_uniq_sorted(
18 vec: *mut fmpq,
19 state: *mut flint_rand_struct,
20 len: slong,
21 bits: flint_bitcnt_t,
22 );
23 pub fn _fmpq_vec_max_height(height: *mut fmpz, vec: *const fmpq, len: slong);
24 pub fn _fmpq_vec_max_height_bits(vec: *const fmpq, len: slong) -> flint_bitcnt_t;
25 pub fn _fmpq_vec_sort(vec: *mut fmpq, len: slong);
26 pub fn _fmpq_vec_equal(vec1: *const fmpq, vec2: *const fmpq, len: slong) -> libc::c_int;
27 pub fn _fmpq_vec_set_fmpz_vec(res: *mut fmpq, vec: *const fmpz, len: slong);
28 pub fn _fmpq_vec_get_fmpz_vec_fmpz(num: *mut fmpz, den: *mut fmpz, a: *const fmpq, len: slong);
29 pub fn _fmpq_vec_dot(res: *mut fmpq, vec1: *const fmpq, vec2: *const fmpq, len: slong);
30 pub fn _fmpq_vec_fprint(file: *mut FILE, vec: *const fmpq, len: slong) -> libc::c_int;
31 pub fn _fmpq_vec_print(vec: *const fmpq, len: slong) -> libc::c_int;
32}