lapack_inject/types.rs
1//! LAPACK type definitions.
2
3#![allow(non_camel_case_types)]
4
5/// Integer type for LAPACK operations (LP64: 32-bit).
6#[cfg(not(feature = "ilp64"))]
7pub type lapack_int = i32;
8
9/// Integer type for LAPACK operations (ILP64: 64-bit).
10#[cfg(feature = "ilp64")]
11pub type lapack_int = i64;
12
13/// Alias for backward compatibility
14pub type lapackint = lapack_int;
15
16// Complex type aliases for lapack-sys compatibility
17pub type lapack_complex_float = num_complex::Complex32;
18pub type lapack_complex_double = num_complex::Complex64;