// Copyright (C) 2025 Wilmer Prentius.
//
// This program is free software: you can redistribute it and/or modify it under the terms of the
// GNU Affero General Public License as published by the Free Software Foundation, version 3.
//
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
// even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License along with this
// program. If not, see <https://www.gnu.org/licenses/>.

//! Utility functions for envisim

mod epsilon;
pub mod indices;
pub mod kd_tree;
pub mod matrix;
mod number_traits;
pub mod pips;
pub mod probabilities;
pub mod random;
pub mod sample;
pub mod sample_controller;
pub mod sampling_options;
pub mod spatial;
pub mod utils;

#[cfg(any(test, feature = "test-utils"))]
pub mod test_utils;

pub use epsilon::Epsilon;
pub use number_traits::{
    Number,
    NumberFloat,
};
