orx_v/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#![doc = include_str!("../README.md")]
#![warn(
    missing_docs,
    clippy::unwrap_in_result,
    clippy::unwrap_used,
    clippy::panic,
    clippy::panic_in_result_fn,
    clippy::float_cmp,
    clippy::float_cmp_const,
    clippy::missing_panics_doc,
    clippy::todo
)]
#![no_std]

extern crate alloc;

#[cfg(any(test, feature = "std"))]
extern crate std;

mod cached;
mod cardinality;
mod children;
mod common_trait_helpers;
mod constant_vec;
mod dim;
mod empty_vec;
mod flat_jagged;
mod fun;
mod impl_nvec;
mod impl_nvec_core;
mod impl_nvec_mut;
mod nvec;
mod nvec_aliases;
mod nvec_core;
mod nvec_core_sealed;
mod nvec_mut;
mod sparse;
mod v;

/// Matrix representations.
pub mod matrices;

// pub(crate) use

pub(crate) use nvec_core_sealed::NVecCoreSealed;

// pub use

pub use cached::{Cache, CachedVec, DefaultCache, IntoCached};
pub use cardinality::{
    Card, CardD1, EmptyCard, RectangularCardD2, RectangularCardD3, RectangularCardD4,
    UnboundedCard, VariableCardD2, VariableCardD3, VariableCardD4,
};
pub use constant_vec::ConstantVec;
pub use dim::*;
pub use empty_vec::EmptyVec;
pub use flat_jagged::{FlatJagged, IntoJagged};
pub use fun::FunVec;
pub use matrices::{
    Matrix, MatrixColMajor, MatrixColMajorMut, MatrixMut, MatrixRowMajor, MatrixRowMajorMut,
    V1AsMatrix, V2AsMatrix,
};
pub use nvec::NVec;
pub use nvec_aliases::*;
pub use nvec_core::NVecCore;
pub use nvec_mut::NVecMut;
pub use sparse::{DefaultLookup, Lookup, SparseVec};
pub use v::{NewV1, NewV2, NewV3, NewV4, V};