Struct rusty_compression::row_interp_decomp::RowID
source · [−]pub struct RowID<A: Scalar> { /* private fields */ }
Expand description
Store a Row Interpolative Decomposition
Trait Implementations
sourceimpl<S> Apply<Complex<f32>, ArrayBase<S, Dim<[usize; 1]>>> for RowID<c32> where
S: Data<Elem = c32>,
impl<S> Apply<Complex<f32>, ArrayBase<S, Dim<[usize; 1]>>> for RowID<c32> where
S: Data<Elem = c32>,
sourceimpl<S> Apply<Complex<f32>, ArrayBase<S, Dim<[usize; 2]>>> for RowID<c32> where
S: Data<Elem = c32>,
impl<S> Apply<Complex<f32>, ArrayBase<S, Dim<[usize; 2]>>> for RowID<c32> where
S: Data<Elem = c32>,
sourceimpl<S> Apply<Complex<f64>, ArrayBase<S, Dim<[usize; 1]>>> for RowID<c64> where
S: Data<Elem = c64>,
impl<S> Apply<Complex<f64>, ArrayBase<S, Dim<[usize; 1]>>> for RowID<c64> where
S: Data<Elem = c64>,
sourceimpl<S> Apply<Complex<f64>, ArrayBase<S, Dim<[usize; 2]>>> for RowID<c64> where
S: Data<Elem = c64>,
impl<S> Apply<Complex<f64>, ArrayBase<S, Dim<[usize; 2]>>> for RowID<c64> where
S: Data<Elem = c64>,
sourceimpl RowIDTraits for RowID<f32>
impl RowIDTraits for RowID<f32>
type A = f32
sourcefn get_x(&self) -> ArrayView2<'_, Self::A>
fn get_x(&self) -> ArrayView2<'_, Self::A>
Return the X matrix
sourcefn get_r(&self) -> ArrayView2<'_, Self::A>
fn get_r(&self) -> ArrayView2<'_, Self::A>
Return the R matrix
sourcefn get_row_ind(&self) -> ArrayView1<'_, usize>
fn get_row_ind(&self) -> ArrayView1<'_, usize>
Return the index vector
fn get_x_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_r_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_row_ind_mut(&mut self) -> ArrayViewMut1<'_, usize>
sourcefn new(x: Array2<Self::A>, r: Array2<Self::A>, row_ind: Array1<usize>) -> Self
fn new(x: Array2<Self::A>, r: Array2<Self::A>, row_ind: Array1<usize>) -> Self
Return a row interpolative decomposition from given component matrices $X$ and $R$ and index array row_ind. Read more
sourcefn two_sided_id(&self) -> Result<TwoSidedID<Self::A>>
fn two_sided_id(&self) -> Result<TwoSidedID<Self::A>>
Convert the row interpolative decomposition into a two sided interpolative decomposition
sourceimpl RowIDTraits for RowID<f64>
impl RowIDTraits for RowID<f64>
type A = f64
sourcefn get_x(&self) -> ArrayView2<'_, Self::A>
fn get_x(&self) -> ArrayView2<'_, Self::A>
Return the X matrix
sourcefn get_r(&self) -> ArrayView2<'_, Self::A>
fn get_r(&self) -> ArrayView2<'_, Self::A>
Return the R matrix
sourcefn get_row_ind(&self) -> ArrayView1<'_, usize>
fn get_row_ind(&self) -> ArrayView1<'_, usize>
Return the index vector
fn get_x_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_r_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_row_ind_mut(&mut self) -> ArrayViewMut1<'_, usize>
sourcefn new(x: Array2<Self::A>, r: Array2<Self::A>, row_ind: Array1<usize>) -> Self
fn new(x: Array2<Self::A>, r: Array2<Self::A>, row_ind: Array1<usize>) -> Self
Return a row interpolative decomposition from given component matrices $X$ and $R$ and index array row_ind. Read more
sourcefn two_sided_id(&self) -> Result<TwoSidedID<Self::A>>
fn two_sided_id(&self) -> Result<TwoSidedID<Self::A>>
Convert the row interpolative decomposition into a two sided interpolative decomposition
sourceimpl RowIDTraits for RowID<c32>
impl RowIDTraits for RowID<c32>
type A = Complex<f32>
sourcefn get_x(&self) -> ArrayView2<'_, Self::A>
fn get_x(&self) -> ArrayView2<'_, Self::A>
Return the X matrix
sourcefn get_r(&self) -> ArrayView2<'_, Self::A>
fn get_r(&self) -> ArrayView2<'_, Self::A>
Return the R matrix
sourcefn get_row_ind(&self) -> ArrayView1<'_, usize>
fn get_row_ind(&self) -> ArrayView1<'_, usize>
Return the index vector
fn get_x_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_r_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_row_ind_mut(&mut self) -> ArrayViewMut1<'_, usize>
sourcefn new(x: Array2<Self::A>, r: Array2<Self::A>, row_ind: Array1<usize>) -> Self
fn new(x: Array2<Self::A>, r: Array2<Self::A>, row_ind: Array1<usize>) -> Self
Return a row interpolative decomposition from given component matrices $X$ and $R$ and index array row_ind. Read more
sourcefn two_sided_id(&self) -> Result<TwoSidedID<Self::A>>
fn two_sided_id(&self) -> Result<TwoSidedID<Self::A>>
Convert the row interpolative decomposition into a two sided interpolative decomposition
sourceimpl RowIDTraits for RowID<c64>
impl RowIDTraits for RowID<c64>
type A = Complex<f64>
sourcefn get_x(&self) -> ArrayView2<'_, Self::A>
fn get_x(&self) -> ArrayView2<'_, Self::A>
Return the X matrix
sourcefn get_r(&self) -> ArrayView2<'_, Self::A>
fn get_r(&self) -> ArrayView2<'_, Self::A>
Return the R matrix
sourcefn get_row_ind(&self) -> ArrayView1<'_, usize>
fn get_row_ind(&self) -> ArrayView1<'_, usize>
Return the index vector
fn get_x_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_r_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_row_ind_mut(&mut self) -> ArrayViewMut1<'_, usize>
sourcefn new(x: Array2<Self::A>, r: Array2<Self::A>, row_ind: Array1<usize>) -> Self
fn new(x: Array2<Self::A>, r: Array2<Self::A>, row_ind: Array1<usize>) -> Self
Return a row interpolative decomposition from given component matrices $X$ and $R$ and index array row_ind. Read more
sourcefn two_sided_id(&self) -> Result<TwoSidedID<Self::A>>
fn two_sided_id(&self) -> Result<TwoSidedID<Self::A>>
Convert the row interpolative decomposition into a two sided interpolative decomposition
Auto Trait Implementations
impl<A> RefUnwindSafe for RowID<A> where
A: RefUnwindSafe,
impl<A> Send for RowID<A> where
A: Send,
impl<A> Sync for RowID<A> where
A: Sync,
impl<A> Unpin for RowID<A>
impl<A> UnwindSafe for RowID<A> where
A: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more