Struct linxal::permute::MatrixPermutation
[−]
[src]
pub struct MatrixPermutation { /* fields omitted */ }
A compressed representation of matrix permutations.
The internal representation of a matrix permutation mimics the output of various LAPACK functions.
Methods
impl MatrixPermutation
[src]
fn from_ipiv(ipiv: Vec<i32>) -> MatrixPermutation
Return permutation from ipivot result from a LAPACK[E] call.
fn permute_into<T, D1>(
&self,
mat: ArrayBase<D1, Ix2>
) -> Option<ArrayBase<D1, Ix2>> where
T: Permutes,
D1: DataOwned<Elem = T> + DataMut<Elem = T>,
&self,
mat: ArrayBase<D1, Ix2>
) -> Option<ArrayBase<D1, Ix2>> where
T: Permutes,
D1: DataOwned<Elem = T> + DataMut<Elem = T>,
Permute an input matrix mat
by this permutation.
fn permute<T, D1>(&self, mat: &ArrayBase<D1, Ix2>) -> Option<Array<T, Ix2>> where
T: Permutes,
D1: Data<Elem = T>,
T: Permutes,
D1: Data<Elem = T>,
Permute a matrix mat
by this permutation.
fn ipiv(&self) -> &[i32]
Return the native LAPACKE representation of the permutation.
This will only be useful for interfacing with other LAPACKE functions.
Trait Implementations
impl Debug for MatrixPermutation
[src]
impl Clone for MatrixPermutation
[src]
fn clone(&self) -> MatrixPermutation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more