nshare 0.10.0

Conversion between n-dimensional types in different Rust crates
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(feature = "ndarray")]
mod ndarray_impl;

/// Converts a 1 or 2 dimensional type to a nalgebra type.
///
/// This uses an associated type to avoid ambiguity for the compiler.
/// By calling this, the compiler always knows the returned type.
pub trait IntoNalgebra {
    type Out;

    fn into_nalgebra(self) -> Self::Out;
}