Skip to main content

arpack_sys/
bindings.rs

1/* automatically generated by rust-bindgen 0.72.0 */
2
3#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)]
4#[repr(C)]
5pub struct __BindgenComplex<T> {
6    pub re: T,
7    pub im: T,
8}
9unsafe extern "C" {
10    pub fn cnaupd_c(
11        ido: *mut ::std::os::raw::c_int,
12        bmat: *const ::std::os::raw::c_char,
13        n: ::std::os::raw::c_int,
14        which: *const ::std::os::raw::c_char,
15        nev: ::std::os::raw::c_int,
16        tol: f32,
17        resid: *mut __BindgenComplex<f32>,
18        ncv: ::std::os::raw::c_int,
19        v: *mut __BindgenComplex<f32>,
20        ldv: ::std::os::raw::c_int,
21        iparam: *mut ::std::os::raw::c_int,
22        ipntr: *mut ::std::os::raw::c_int,
23        workd: *mut __BindgenComplex<f32>,
24        workl: *mut __BindgenComplex<f32>,
25        lworkl: ::std::os::raw::c_int,
26        rwork: *mut f32,
27        info: *mut ::std::os::raw::c_int,
28    );
29    pub fn cneupd_c(
30        rvec: ::std::os::raw::c_int,
31        howmny: *const ::std::os::raw::c_char,
32        select: *const ::std::os::raw::c_int,
33        d: *mut __BindgenComplex<f32>,
34        z: *mut __BindgenComplex<f32>,
35        ldz: ::std::os::raw::c_int,
36        sigma: __BindgenComplex<f32>,
37        workev: *mut __BindgenComplex<f32>,
38        bmat: *const ::std::os::raw::c_char,
39        n: ::std::os::raw::c_int,
40        which: *const ::std::os::raw::c_char,
41        nev: ::std::os::raw::c_int,
42        tol: f32,
43        resid: *mut __BindgenComplex<f32>,
44        ncv: ::std::os::raw::c_int,
45        v: *mut __BindgenComplex<f32>,
46        ldv: ::std::os::raw::c_int,
47        iparam: *mut ::std::os::raw::c_int,
48        ipntr: *mut ::std::os::raw::c_int,
49        workd: *mut __BindgenComplex<f32>,
50        workl: *mut __BindgenComplex<f32>,
51        lworkl: ::std::os::raw::c_int,
52        rwork: *mut f32,
53        info: *mut ::std::os::raw::c_int,
54    );
55    pub fn dnaupd_c(
56        ido: *mut ::std::os::raw::c_int,
57        bmat: *const ::std::os::raw::c_char,
58        n: ::std::os::raw::c_int,
59        which: *const ::std::os::raw::c_char,
60        nev: ::std::os::raw::c_int,
61        tol: f64,
62        resid: *mut f64,
63        ncv: ::std::os::raw::c_int,
64        v: *mut f64,
65        ldv: ::std::os::raw::c_int,
66        iparam: *mut ::std::os::raw::c_int,
67        ipntr: *mut ::std::os::raw::c_int,
68        workd: *mut f64,
69        workl: *mut f64,
70        lworkl: ::std::os::raw::c_int,
71        info: *mut ::std::os::raw::c_int,
72    );
73    pub fn dneupd_c(
74        rvec: ::std::os::raw::c_int,
75        howmny: *const ::std::os::raw::c_char,
76        select: *const ::std::os::raw::c_int,
77        dr: *mut f64,
78        di: *mut f64,
79        z: *mut f64,
80        ldz: ::std::os::raw::c_int,
81        sigmar: f64,
82        sigmai: f64,
83        workev: *mut f64,
84        bmat: *const ::std::os::raw::c_char,
85        n: ::std::os::raw::c_int,
86        which: *const ::std::os::raw::c_char,
87        nev: ::std::os::raw::c_int,
88        tol: f64,
89        resid: *mut f64,
90        ncv: ::std::os::raw::c_int,
91        v: *mut f64,
92        ldv: ::std::os::raw::c_int,
93        iparam: *mut ::std::os::raw::c_int,
94        ipntr: *mut ::std::os::raw::c_int,
95        workd: *mut f64,
96        workl: *mut f64,
97        lworkl: ::std::os::raw::c_int,
98        info: *mut ::std::os::raw::c_int,
99    );
100    pub fn dsaupd_c(
101        ido: *mut ::std::os::raw::c_int,
102        bmat: *const ::std::os::raw::c_char,
103        n: ::std::os::raw::c_int,
104        which: *const ::std::os::raw::c_char,
105        nev: ::std::os::raw::c_int,
106        tol: f64,
107        resid: *mut f64,
108        ncv: ::std::os::raw::c_int,
109        v: *mut f64,
110        ldv: ::std::os::raw::c_int,
111        iparam: *mut ::std::os::raw::c_int,
112        ipntr: *mut ::std::os::raw::c_int,
113        workd: *mut f64,
114        workl: *mut f64,
115        lworkl: ::std::os::raw::c_int,
116        info: *mut ::std::os::raw::c_int,
117    );
118    pub fn dseupd_c(
119        rvec: ::std::os::raw::c_int,
120        howmny: *const ::std::os::raw::c_char,
121        select: *const ::std::os::raw::c_int,
122        d: *mut f64,
123        z: *mut f64,
124        ldz: ::std::os::raw::c_int,
125        sigma: f64,
126        bmat: *const ::std::os::raw::c_char,
127        n: ::std::os::raw::c_int,
128        which: *const ::std::os::raw::c_char,
129        nev: ::std::os::raw::c_int,
130        tol: f64,
131        resid: *mut f64,
132        ncv: ::std::os::raw::c_int,
133        v: *mut f64,
134        ldv: ::std::os::raw::c_int,
135        iparam: *mut ::std::os::raw::c_int,
136        ipntr: *mut ::std::os::raw::c_int,
137        workd: *mut f64,
138        workl: *mut f64,
139        lworkl: ::std::os::raw::c_int,
140        info: *mut ::std::os::raw::c_int,
141    );
142    pub fn snaupd_c(
143        ido: *mut ::std::os::raw::c_int,
144        bmat: *const ::std::os::raw::c_char,
145        n: ::std::os::raw::c_int,
146        which: *const ::std::os::raw::c_char,
147        nev: ::std::os::raw::c_int,
148        tol: f32,
149        resid: *mut f32,
150        ncv: ::std::os::raw::c_int,
151        v: *mut f32,
152        ldv: ::std::os::raw::c_int,
153        iparam: *mut ::std::os::raw::c_int,
154        ipntr: *mut ::std::os::raw::c_int,
155        workd: *mut f32,
156        workl: *mut f32,
157        lworkl: ::std::os::raw::c_int,
158        info: *mut ::std::os::raw::c_int,
159    );
160    pub fn sneupd_c(
161        rvec: ::std::os::raw::c_int,
162        howmny: *const ::std::os::raw::c_char,
163        select: *const ::std::os::raw::c_int,
164        dr: *mut f32,
165        di: *mut f32,
166        z: *mut f32,
167        ldz: ::std::os::raw::c_int,
168        sigmar: f32,
169        sigmai: f32,
170        workev: *mut f32,
171        bmat: *const ::std::os::raw::c_char,
172        n: ::std::os::raw::c_int,
173        which: *const ::std::os::raw::c_char,
174        nev: ::std::os::raw::c_int,
175        tol: f32,
176        resid: *mut f32,
177        ncv: ::std::os::raw::c_int,
178        v: *mut f32,
179        ldv: ::std::os::raw::c_int,
180        iparam: *mut ::std::os::raw::c_int,
181        ipntr: *mut ::std::os::raw::c_int,
182        workd: *mut f32,
183        workl: *mut f32,
184        lworkl: ::std::os::raw::c_int,
185        info: *mut ::std::os::raw::c_int,
186    );
187    pub fn ssaupd_c(
188        ido: *mut ::std::os::raw::c_int,
189        bmat: *const ::std::os::raw::c_char,
190        n: ::std::os::raw::c_int,
191        which: *const ::std::os::raw::c_char,
192        nev: ::std::os::raw::c_int,
193        tol: f32,
194        resid: *mut f32,
195        ncv: ::std::os::raw::c_int,
196        v: *mut f32,
197        ldv: ::std::os::raw::c_int,
198        iparam: *mut ::std::os::raw::c_int,
199        ipntr: *mut ::std::os::raw::c_int,
200        workd: *mut f32,
201        workl: *mut f32,
202        lworkl: ::std::os::raw::c_int,
203        info: *mut ::std::os::raw::c_int,
204    );
205    pub fn sseupd_c(
206        rvec: ::std::os::raw::c_int,
207        howmny: *const ::std::os::raw::c_char,
208        select: *const ::std::os::raw::c_int,
209        d: *mut f32,
210        z: *mut f32,
211        ldz: ::std::os::raw::c_int,
212        sigma: f32,
213        bmat: *const ::std::os::raw::c_char,
214        n: ::std::os::raw::c_int,
215        which: *const ::std::os::raw::c_char,
216        nev: ::std::os::raw::c_int,
217        tol: f32,
218        resid: *mut f32,
219        ncv: ::std::os::raw::c_int,
220        v: *mut f32,
221        ldv: ::std::os::raw::c_int,
222        iparam: *mut ::std::os::raw::c_int,
223        ipntr: *mut ::std::os::raw::c_int,
224        workd: *mut f32,
225        workl: *mut f32,
226        lworkl: ::std::os::raw::c_int,
227        info: *mut ::std::os::raw::c_int,
228    );
229    pub fn znaupd_c(
230        ido: *mut ::std::os::raw::c_int,
231        bmat: *const ::std::os::raw::c_char,
232        n: ::std::os::raw::c_int,
233        which: *const ::std::os::raw::c_char,
234        nev: ::std::os::raw::c_int,
235        tol: f64,
236        resid: *mut __BindgenComplex<f64>,
237        ncv: ::std::os::raw::c_int,
238        v: *mut __BindgenComplex<f64>,
239        ldv: ::std::os::raw::c_int,
240        iparam: *mut ::std::os::raw::c_int,
241        ipntr: *mut ::std::os::raw::c_int,
242        workd: *mut __BindgenComplex<f64>,
243        workl: *mut __BindgenComplex<f64>,
244        lworkl: ::std::os::raw::c_int,
245        rwork: *mut f64,
246        info: *mut ::std::os::raw::c_int,
247    );
248    pub fn zneupd_c(
249        rvec: ::std::os::raw::c_int,
250        howmny: *const ::std::os::raw::c_char,
251        select: *const ::std::os::raw::c_int,
252        d: *mut __BindgenComplex<f64>,
253        z: *mut __BindgenComplex<f64>,
254        ldz: ::std::os::raw::c_int,
255        sigma: __BindgenComplex<f64>,
256        workev: *mut __BindgenComplex<f64>,
257        bmat: *const ::std::os::raw::c_char,
258        n: ::std::os::raw::c_int,
259        which: *const ::std::os::raw::c_char,
260        nev: ::std::os::raw::c_int,
261        tol: f64,
262        resid: *mut __BindgenComplex<f64>,
263        ncv: ::std::os::raw::c_int,
264        v: *mut __BindgenComplex<f64>,
265        ldv: ::std::os::raw::c_int,
266        iparam: *mut ::std::os::raw::c_int,
267        ipntr: *mut ::std::os::raw::c_int,
268        workd: *mut __BindgenComplex<f64>,
269        workl: *mut __BindgenComplex<f64>,
270        lworkl: ::std::os::raw::c_int,
271        rwork: *mut f64,
272        info: *mut ::std::os::raw::c_int,
273    );
274}