ndstruct 1.0.0

Structures for N-dimensions
Documentation
//! # ndstruct
//!
//! This crate provides structures to store and retrieve N-dimensional data.

#![cfg_attr(not(feature = "std"), no_std)]

#[cfg(feature = "alloc")]
extern crate alloc;

pub mod coo;
pub mod csl;
pub mod dense;
pub mod doc_tests;
mod error;
mod utils;

/// Shorcut of core::result::Result<T, ndstruct::Error>;
pub type Result<T> = core::result::Result<T, Error>;

pub use error::*;
#[cfg(feature = "rayon")]
pub use utils::{ParallelIteratorWrapper, ParallelProducerWrapper};