lapack-inject 0.1.2

LAPACK compatible interface backed by runtime-registered Fortran LAPACK function pointers
Documentation
//! LAPACK type definitions.

#![allow(non_camel_case_types)]

/// Integer type for LAPACK operations (LP64: 32-bit).
#[cfg(not(feature = "ilp64"))]
pub type lapack_int = i32;

/// Integer type for LAPACK operations (ILP64: 64-bit).
#[cfg(feature = "ilp64")]
pub type lapack_int = i64;

/// Alias for backward compatibility
pub type lapackint = lapack_int;

/// LAPACKE row-major matrix layout.
pub const LAPACK_ROW_MAJOR: lapack_int = 101;

/// LAPACKE column-major matrix layout.
pub const LAPACK_COL_MAJOR: lapack_int = 102;

// Complex type aliases for lapack-sys compatibility
pub type lapack_complex_float = num_complex::Complex32;
pub type lapack_complex_double = num_complex::Complex64;