lapack_sys/lib.rs
1//! Bindings to [LAPACK] \(Fortran).
2//!
3//! ## [Architecture]
4//!
5//! [architecture]: https://blas-lapack-rs.github.io/architecture
6//! [lapack]: https://en.wikipedia.org/wiki/LAPACK
7
8#![allow(non_camel_case_types)]
9#![no_std]
10
11extern crate libc;
12
13use libc::{c_char, c_int, size_t};
14
15/// A complex number with 64-bit parts.
16pub type c_double_complex = __BindgenComplex<f64>;
17
18/// A complex number with 32-bit parts.
19pub type c_float_complex = __BindgenComplex<f32>;
20
21pub type lapack_complex_double = c_double_complex;
22pub type lapack_complex_float = c_float_complex;
23pub type lapack_int = i32;
24pub type lapack_logical = lapack_int;
25
26include!("lapack.rs");