Struct sprs::Permutation[][src]

pub struct Permutation<I, IndStorage> where
    IndStorage: Deref<Target = [I]>, 
{ /* fields omitted */ }

Methods

impl<I: SpIndex> Permutation<I, Vec<I>>
[src]

impl<'a, I: SpIndex> Permutation<I, &'a [I]>
[src]

impl<I: SpIndex, IndStorage> Permutation<I, IndStorage> where
    IndStorage: Deref<Target = [I]>, 
[src]

Get a vector representing this permutation

Get a vector representing the inverse of this permutation

Trait Implementations

impl<I: Debug, IndStorage: Debug> Debug for Permutation<I, IndStorage> where
    IndStorage: Deref<Target = [I]>, 
[src]

Formats the value using the given formatter. Read more

impl<I: Clone, IndStorage: Clone> Clone for Permutation<I, IndStorage> where
    IndStorage: Deref<Target = [I]>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, 'b, N, I, IndStorage> Mul<&'a [N]> for &'b Permutation<I, IndStorage> where
    IndStorage: 'b + Deref<Target = [I]>,
    N: 'a + Copy,
    I: SpIndex
[src]

The resulting type after applying the * operator.

Performs the * operation.

Auto Trait Implementations

impl<I, IndStorage> Send for Permutation<I, IndStorage> where
    IndStorage: Send

impl<I, IndStorage> Sync for Permutation<I, IndStorage> where
    IndStorage: Sync