1#![allow(
31 clippy::missing_safety_doc,
32 clippy::missing_transmute_annotations,
33 clippy::too_many_arguments
34)]
35
36extern crate lapack_sys as ffi;
37extern crate num_complex as num;
38
39use std::mem::transmute;
40
41use libc::{c_char, size_t};
42
43#[allow(non_camel_case_types)]
45pub type c32 = num::Complex<f32>;
46
47#[allow(non_camel_case_types)]
49pub type c64 = num::Complex<f64>;
50
51pub type Select2F32 = Option<extern "C" fn(*const f32, *const f32) -> i32>;
52pub type Select3F32 = Option<extern "C" fn(*const f32, *const f32, *const f32) -> i32>;
53
54pub type Select2F64 = Option<extern "C" fn(*const f64, *const f64) -> i32>;
55pub type Select3F64 = Option<extern "C" fn(*const f64, *const f64, *const f64) -> i32>;
56
57pub type Select1C32 = Option<extern "C" fn(*const c32) -> i32>;
58pub type Select2C32 = Option<extern "C" fn(*const c32, *const c32) -> i32>;
59
60pub type Select1C64 = Option<extern "C" fn(*const c64) -> i32>;
61pub type Select2C64 = Option<extern "C" fn(*const c64, *const c64) -> i32>;
62
63include!("lapack-sys.rs");