//! Numeric / ML foundation for the legume ecosystem.
//!
//! Modules:
//! - [`leiden`] — vendored CWTS/10x Leiden port (see `NOTICE`)
//! - [`matrix`] — matrix IO, KNN, layout, stats (ex `matrix-util`)
//! - `param` — parametric helpers (ex `matrix-param`)
//! - `candle` — candle training helpers (ex `candle-util`; feature `candle`)
//! - `mcmc` — MCMC engine (ex `mcmc-util`; feature `mcmc`)
//!
//! Features: `matrix` and `param` work on nalgebra `DMatrix` alone.
//! `tensor` (default) adds candle `Tensor` support to the matrix code:
//! conversions, tensor IO, sampling and fused ops. `ndarray` (default) adds
//! ndarray `Array2` support: IO, sampling, `ndarray_stat`, `ndarray_gamma`
//! and kNN from ndarray views. `candle` and `mcmc` build on `tensor`. A crate
//! that only needs `DMatrix` sets `default-features = false` and links
//! neither candle nor ndarray.
/// candle-core, for crates that use `Tensor` through the `tensor` feature
/// without a direct dependency on candle.
pub use candle_core;