Trait linxal::permute::Permutes
[−]
[src]
pub trait Permutes: Sized + Clone { fn permute_into<D1>(
mat: ArrayBase<D1, Ix2>,
ipiv: &[i32]
) -> Option<ArrayBase<D1, Ix2>>
where
D1: DataOwned<Elem = Self> + DataMut<Elem = Self>; fn permute<D1>(
mat: &ArrayBase<D1, Ix2>,
ipiv: &[i32]
) -> Option<Array<Self, Ix2>>
where
D1: Data<Elem = Self>, { ... } }
A Permutes
is a scalar that one can apply a
MatrixPermutation
to.
The methods of permuatble are not meant to be used by end-users.
Required Methods
fn permute_into<D1>(
mat: ArrayBase<D1, Ix2>,
ipiv: &[i32]
) -> Option<ArrayBase<D1, Ix2>> where
D1: DataOwned<Elem = Self> + DataMut<Elem = Self>,
mat: ArrayBase<D1, Ix2>,
ipiv: &[i32]
) -> Option<ArrayBase<D1, Ix2>> where
D1: DataOwned<Elem = Self> + DataMut<Elem = Self>,
Permute a matrix by the pivot representation of a permutation.
Provided Methods
fn permute<D1>(
mat: &ArrayBase<D1, Ix2>,
ipiv: &[i32]
) -> Option<Array<Self, Ix2>> where
D1: Data<Elem = Self>,
mat: &ArrayBase<D1, Ix2>,
ipiv: &[i32]
) -> Option<Array<Self, Ix2>> where
D1: Data<Elem = Self>,
Permute a matrix by the pivot representation of a permutation.