Struct discrete::DimensionN [] [src]

pub struct DimensionN<T>(_);

Dimension is a list of numbers, position is a list of numbers.

Trait Implementations

impl<T> Construct for DimensionN<T>
[src]

Constructs a new Self.

impl<'a> Count<&'a [usize]> for DimensionN<Data>
[src]

Counts the size of space given the dimensions.

impl<'a, T, U> Count<(&'a [usize], U)> for DimensionN<Subspace<T>> where T: Construct + Count<U>
[src]

Counts the size of space given the dimensions.

impl<'a, T, U: Copy> Count<&'a [U]> for DimensionN<Of<T>> where T: Construct + Count<U>
[src]

Counts the size of space given the dimensions.

impl<'a> ToIndex<&'a [usize]&'a [usize]> for DimensionN<Data>
[src]

Converts position to index.

impl<'a, T, U: Copy, V> ToIndex<(&'a [usize], U)(&'a [usize], V)> for DimensionN<Subspace<T>> where T: Construct + Count<U> + ToIndex<U, V>
[src]

Converts position to index.

impl<'a, T, U: Copy, V: Copy> ToIndex<&'a [U]&'a [V]> for DimensionN<Of<T>> where T: Construct + Count<U> + ToIndex<U, V>
[src]

Converts position to index.

impl<'a> ToPos<&'a [usize]Vec<usize>> for DimensionN<Data>
[src]

Converts index to position.

impl<'a, T, U: Copy, V> ToPos<(&'a [usize], U)(Vec<usize>, V)> for DimensionN<Subspace<T>> where T: Construct + Count<U> + ToPos<U, V>
[src]

Converts index to position.

impl<'a, T, U: Copy, V> ToPos<&'a [U]Vec<V>> for DimensionN<Of<T>> where T: Construct + Count<U> + ToPos<U, V>
[src]

Converts index to position.