1#![cfg_attr(not(feature = "std"), no_std)]
8
9extern crate alloc;
10
11#[cfg(feature = "high-precision")]
13pub use amari_core::HighPrecisionFloat;
14pub use amari_core::{ExtendedFloat, PrecisionFloat, StandardFloat};
15
16pub mod types;
18
19pub mod error;
21pub mod polytope;
22pub mod viterbi;
23
24#[cfg(feature = "phantom-types")]
25pub mod verified;
26
27#[cfg(feature = "contracts")]
28pub mod verified_contracts;
29
30pub use error::{TropicalError, TropicalResult};
32
33pub use types::{StandardTropical, TropicalMatrix, TropicalMultivector, TropicalNumber};
35
36#[cfg(feature = "high-precision")]
37pub use types::ExtendedTropical;
38
39