#[repr(transparent)]pub struct Perm<Inner>(pub Inner);Expand description
generic Perm wrapper
Tuple Fields§
§0: InnerImplementations§
Source§impl<I: Index, N: Shape> Perm<Own<I, N>>
impl<I: Index, N: Shape> Perm<Own<I, N>>
Sourcepub fn as_shape<M: Shape>(&self, dim: M) -> PermRef<'_, I, M>
pub fn as_shape<M: Shape>(&self, dim: M) -> PermRef<'_, I, M>
returns the input permutation with the given shape after checking that it matches the current shape
Sourcepub fn into_shape<M: Shape>(self, dim: M) -> Perm<I, M>
pub fn into_shape<M: Shape>(self, dim: M) -> Perm<I, M>
returns the input permutation with the given shape after checking that it matches the current shape
Sourcepub fn new_checked(
forward: Box<[Idx<N, I>]>,
inverse: Box<[Idx<N, I>]>,
dim: N,
) -> Self
pub fn new_checked( forward: Box<[Idx<N, I>]>, inverse: Box<[Idx<N, I>]>, dim: N, ) -> Self
creates a new permutation, by checking the validity of the inputs
§panics
the function panics if any of the following conditions are violated:
forward and inverse must have the same length which must be less than or equal to
I::Signed::MAX, be valid permutations, and be inverse permutations of each other
Sourcepub unsafe fn new_unchecked(
forward: Box<[Idx<N, I>]>,
inverse: Box<[Idx<N, I>]>,
) -> Self
pub unsafe fn new_unchecked( forward: Box<[Idx<N, I>]>, inverse: Box<[Idx<N, I>]>, ) -> Self
creates a new permutation reference, without checking the validity of the inputs
§safety
forward and inverse must have the same length which must be less than or equal to
I::Signed::MAX, be valid permutations, and be inverse permutations of each other
Sourcepub fn into_arrays(self) -> (Box<[Idx<N, I>]>, Box<[Idx<N, I>]>)
pub fn into_arrays(self) -> (Box<[Idx<N, I>]>, Box<[Idx<N, I>]>)
returns the permutation as an array
Sourcepub fn into_inverse(self) -> Self
pub fn into_inverse(self) -> Self
returns the inverse permutation
Source§impl<I: Index, N: Shape, Inner: for<'short> Reborrow<'short, Target = Ref<'short, I, N>>> Perm<Inner>
impl<I: Index, N: Shape, Inner: for<'short> Reborrow<'short, Target = Ref<'short, I, N>>> Perm<Inner>
Source§impl<'a, I: Index, N: Shape> Perm<Ref<'a, I, N>>
impl<'a, I: Index, N: Shape> Perm<Ref<'a, I, N>>
Sourcepub fn as_shape<M: Shape>(self, dim: M) -> PermRef<'a, I, M>
pub fn as_shape<M: Shape>(self, dim: M) -> PermRef<'a, I, M>
returns the input permutation with the given shape after checking that it matches the current shape
Sourcepub fn new_checked(
forward: &'a [Idx<N, I>],
inverse: &'a [Idx<N, I>],
dim: N,
) -> Self
pub fn new_checked( forward: &'a [Idx<N, I>], inverse: &'a [Idx<N, I>], dim: N, ) -> Self
creates a new permutation, by checking the validity of the inputs
§panics
the function panics if any of the following conditions are violated:
forwardandinversemust have the same length which must be less than or equal toI::Signed::MAX, be valid permutations, and be inverse permutations of each other
Sourcepub unsafe fn new_unchecked(
forward: &'a [Idx<N, I>],
inverse: &'a [Idx<N, I>],
dim: N,
) -> Self
pub unsafe fn new_unchecked( forward: &'a [Idx<N, I>], inverse: &'a [Idx<N, I>], dim: N, ) -> Self
creates a new permutation reference, without checking the validity of the inputs
§safety
forward and inverse must have the same length which must be less than or equal to
I::Signed::MAX, be valid permutations, and be inverse permutations of each other
Sourcepub fn canonicalized(self) -> PermRef<'a, I::FixedWidth, N>
pub fn canonicalized(self) -> PermRef<'a, I::FixedWidth, N>
cast the permutation to the fixed width index type
Sourcepub fn uncanonicalized<J: Index>(self) -> PermRef<'a, J, N>
pub fn uncanonicalized<J: Index>(self) -> PermRef<'a, J, N>
cast the permutation from the fixed width index type
Source§impl<Inner> Perm<Inner>
impl<Inner> Perm<Inner>
Sourcepub fn from_inner_ref(inner: &Inner) -> &Self
pub fn from_inner_ref(inner: &Inner) -> &Self
wrap by reference
Sourcepub fn from_inner_mut(inner: &mut Inner) -> &mut Self
pub fn from_inner_mut(inner: &mut Inner) -> &mut Self
wrap by mutable reference
Trait Implementations§
Source§impl<I: Index, T: ComplexField, Rows: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, RRStride>>> Mul<&Col<R>> for &Perm<L>
impl<I: Index, T: ComplexField, Rows: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, RRStride>>> Mul<&Col<R>> for &Perm<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, RRStride>>> Mul<&Col<R>> for Perm<L>
impl<I: Index, T: ComplexField, Rows: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, RRStride>>> Mul<&Col<R>> for Perm<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, RCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, Cols, RRStride, RCStride>>> Mul<&Mat<R>> for &Perm<L>
impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, RCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, Cols, RRStride, RCStride>>> Mul<&Mat<R>> for &Perm<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, RCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, Cols, RRStride, RCStride>>> Mul<&Mat<R>> for Perm<L>
impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, RCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, Cols, RRStride, RCStride>>> Mul<&Mat<R>> for Perm<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<&Perm<R>> for &Mat<L>
impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<&Perm<R>> for &Mat<L>
Source§impl<I: Index, N: Shape, L: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>> Mul<&Perm<R>> for &Perm<L>
impl<I: Index, N: Shape, L: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>> Mul<&Perm<R>> for &Perm<L>
Source§impl<I: Index, T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<&Perm<R>> for &Row<L>
impl<I: Index, T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<&Perm<R>> for &Row<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<&Perm<R>> for &SparseColMat<L>
impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<&Perm<R>> for &SparseColMat<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<&Perm<R>> for &SparseRowMat<L>
impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<&Perm<R>> for &SparseRowMat<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<&Perm<R>> for Mat<L>
impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<&Perm<R>> for Mat<L>
Source§impl<I: Index, N: Shape, L: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>> Mul<&Perm<R>> for Perm<L>
impl<I: Index, N: Shape, L: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>> Mul<&Perm<R>> for Perm<L>
Source§impl<I: Index, T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<&Perm<R>> for Row<L>
impl<I: Index, T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<&Perm<R>> for Row<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<&Perm<R>> for SparseColMat<L>
impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<&Perm<R>> for SparseColMat<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<&Perm<R>> for SparseRowMat<L>
impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<&Perm<R>> for SparseRowMat<L>
Source§impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<&SparseColMat<R>> for &Perm<L>
impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<&SparseColMat<R>> for &Perm<L>
Source§impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<&SparseColMat<R>> for Perm<L>
impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<&SparseColMat<R>> for Perm<L>
Source§impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<&SparseRowMat<R>> for &Perm<L>
impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<&SparseRowMat<R>> for &Perm<L>
Source§impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<&SparseRowMat<R>> for Perm<L>
impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<&SparseRowMat<R>> for Perm<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, RRStride>>> Mul<Col<R>> for &Perm<L>
impl<I: Index, T: ComplexField, Rows: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, RRStride>>> Mul<Col<R>> for &Perm<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, RRStride>>> Mul<Col<R>> for Perm<L>
impl<I: Index, T: ComplexField, Rows: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, RRStride>>> Mul<Col<R>> for Perm<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, RCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, Cols, RRStride, RCStride>>> Mul<Mat<R>> for &Perm<L>
impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, RCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, Cols, RRStride, RCStride>>> Mul<Mat<R>> for &Perm<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, RCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, Cols, RRStride, RCStride>>> Mul<Mat<R>> for Perm<L>
impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, RT: Conjugate<Canonical = T>, RRStride: Stride, RCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Rows>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RT, Rows, Cols, RRStride, RCStride>>> Mul<Mat<R>> for Perm<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<Perm<R>> for &Mat<L>
impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<Perm<R>> for &Mat<L>
Source§impl<I: Index, N: Shape, L: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>> Mul<Perm<R>> for &Perm<L>
impl<I: Index, N: Shape, L: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>> Mul<Perm<R>> for &Perm<L>
Source§impl<I: Index, T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<Perm<R>> for &Row<L>
impl<I: Index, T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<Perm<R>> for &Row<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<Perm<R>> for &SparseColMat<L>
impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<Perm<R>> for &SparseColMat<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<Perm<R>> for &SparseRowMat<L>
impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<Perm<R>> for &SparseRowMat<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<Perm<R>> for Mat<L>
impl<I: Index, T: ComplexField, Rows: Shape, Cols: Shape, LT: Conjugate<Canonical = T>, LRStride: Stride, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Rows, Cols, LRStride, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<Perm<R>> for Mat<L>
Source§impl<I: Index, N: Shape, L: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>> Mul<Perm<R>> for Perm<L>
impl<I: Index, N: Shape, L: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, N>>> Mul<Perm<R>> for Perm<L>
Source§impl<I: Index, T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<Perm<R>> for Row<L>
impl<I: Index, T: ComplexField, Cols: Shape, LT: Conjugate<Canonical = T>, LCStride: Stride, L: for<'a> Reborrow<'a, Target = Ref<'a, LT, Cols, LCStride>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Cols>>> Mul<Perm<R>> for Row<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<Perm<R>> for SparseColMat<L>
impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<Perm<R>> for SparseColMat<L>
Source§impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<Perm<R>> for SparseRowMat<L>
impl<I: Index, T: ComplexField, Rows: Shape, Dim: Shape, LT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, LT, Rows, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>> Mul<Perm<R>> for SparseRowMat<L>
Source§impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<SparseColMat<R>> for &Perm<L>
impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<SparseColMat<R>> for &Perm<L>
Source§impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<SparseColMat<R>> for Perm<L>
impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<SparseColMat<R>> for Perm<L>
Source§impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<SparseRowMat<R>> for &Perm<L>
impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<SparseRowMat<R>> for &Perm<L>
Source§impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<SparseRowMat<R>> for Perm<L>
impl<I: Index, T: ComplexField, Cols: Shape, Dim: Shape, RT: Conjugate<Canonical = T>, L: for<'a> Reborrow<'a, Target = Ref<'a, I, Dim>>, R: for<'a> Reborrow<'a, Target = Ref<'a, I, RT, Dim, Cols>>> Mul<SparseRowMat<R>> for Perm<L>
Source§impl<LI: Index, LN: Shape, RI: Index, RN: Shape, L: for<'a> Reborrow<'a, Target = Ref<'a, LI, LN>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RI, RN>>> PartialEq<Perm<R>> for Perm<L>
impl<LI: Index, LN: Shape, RI: Index, RN: Shape, L: for<'a> Reborrow<'a, Target = Ref<'a, LI, LN>>, R: for<'a> Reborrow<'a, Target = Ref<'a, RI, RN>>> PartialEq<Perm<R>> for Perm<L>
Source§impl<'short, Inner: ReborrowMut<'short>> ReborrowMut<'short> for Perm<Inner>
impl<'short, Inner: ReborrowMut<'short>> ReborrowMut<'short> for Perm<Inner>
impl<Inner: Copy> Copy for Perm<Inner>
Auto Trait Implementations§
impl<Inner> Freeze for Perm<Inner>where
Inner: Freeze,
impl<Inner> RefUnwindSafe for Perm<Inner>where
Inner: RefUnwindSafe,
impl<Inner> Send for Perm<Inner>where
Inner: Send,
impl<Inner> Sync for Perm<Inner>where
Inner: Sync,
impl<Inner> Unpin for Perm<Inner>where
Inner: Unpin,
impl<Inner> UnwindSafe for Perm<Inner>where
Inner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more