1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
pub type cobyla_calcfc = ::std::option::Option<
unsafe extern "C" fn(
n: ::std::os::raw::c_long,
m: ::std::os::raw::c_long,
x: *const f64,
con: *mut f64,
data: *mut ::std::os::raw::c_void,
) -> f64,
>;
extern "C" {
pub fn raw_cobyla(
n: ::std::os::raw::c_long,
m: ::std::os::raw::c_long,
calcfc: cobyla_calcfc,
calcfc_data: *mut ::std::os::raw::c_void,
x: *mut f64,
rhobeg: f64,
rhoend: f64,
iprint: ::std::os::raw::c_long,
maxfun: *mut ::std::os::raw::c_long,
w: *mut f64,
iact: *mut ::std::os::raw::c_long,
) -> ::std::os::raw::c_int;
}