pub mod anderson;
#[cfg(feature = "gpu")]
pub mod batch_ipr;
mod hofstadter;
pub(crate) mod lanczos;
pub(crate) mod sparse;
mod stats;
mod tridiag;
#[cfg(feature = "gpu")]
pub mod tridiag_eigh_gpu;
pub use anderson::{
AndersonSweepPoint, anderson_2d, anderson_3d, anderson_3d_correlated, anderson_4d,
anderson_eigenvalues, anderson_hamiltonian, anderson_potential, anderson_sweep_averaged,
clean_2d_lattice, clean_3d_lattice, find_w_c, lyapunov_averaged, lyapunov_exponent,
wegner_block_4d,
};
#[cfg(feature = "gpu")]
pub use batch_ipr::BatchIprGpu;
pub use hofstadter::{GOLDEN_RATIO, almost_mathieu_hamiltonian, gcd, hofstadter_butterfly};
pub use lanczos::{
LanczosTridiag, LanczosTridiagWithBasis, lanczos, lanczos_eigenvalues, lanczos_eigenvectors,
lanczos_with_basis,
};
pub use sparse::{SpectralCsrMatrix, WGSL_SPMV_CSR_F64};
pub use stats::{
GOE_R, POISSON_R, SpectralAnalysis, SpectralPhase, classify_spectral_phase, detect_bands,
level_spacing_ratio, spectral_bandwidth, spectral_condition_number,
};
#[cfg(feature = "gpu")]
pub use stats::{WeightMatrixAnalysis, analyze_weight_matrix};
pub use tridiag::{find_all_eigenvalues, sturm_count, tridiag_eigenvectors};
#[cfg(feature = "gpu")]
pub use tridiag_eigh_gpu::BatchedTridiagEighGpu;