1#![doc = include_str!("../README.md")]
2
3mod axis;
4mod bound;
5mod common;
6mod search;
7mod table1d;
8
9#[cfg(feature = "ndarray")]
10mod table2d;
11
12pub use axis::Axis;
13pub use bound::{Bound, Clamp, Interp};
14pub use search::{Binary, CachedLinearCell, Linear, RuntimeSearch, Search};
15pub use table1d::LookupTable1D;
16
17#[cfg(feature = "ndarray")]
18pub use table2d::LookupTable2D;
19
20#[derive(Debug)]
21pub enum Error {
22 NonMonotonicSorting,
23 DuplicateEntry,
24 IndependentDependentLength,
25 IndependentVariableTooShort,
26}