pub struct TwoSidedID<A: Scalar> {
pub c: Array2<A>,
pub x: Array2<A>,
pub r: Array2<A>,
pub row_ind: Array1<usize>,
pub col_ind: Array1<usize>,
}
Expand description
Store a two sided interpolative decomposition
Fields§
§c: Array2<A>
The C matrix of the two sided interpolative decomposition
x: Array2<A>
The X matrix of the two sided interpolative decomposition
r: Array2<A>
The R matrix of the two sided interpolative decomposition
row_ind: Array1<usize>
The row index vector
col_ind: Array1<usize>
The column index vector
Trait Implementations§
Source§impl TwoSidedIDTraits for TwoSidedID<c32>
impl TwoSidedIDTraits for TwoSidedID<c32>
type A = Complex<f32>
Source§fn get_c(&self) -> ArrayView2<'_, Self::A>
fn get_c(&self) -> ArrayView2<'_, Self::A>
Return the C matrix
Source§fn get_x(&self) -> ArrayView2<'_, Self::A>
fn get_x(&self) -> ArrayView2<'_, Self::A>
Return the X matrix
Source§fn get_r(&self) -> ArrayView2<'_, Self::A>
fn get_r(&self) -> ArrayView2<'_, Self::A>
Return the R matrix
Source§fn get_col_ind(&self) -> ArrayView1<'_, usize>
fn get_col_ind(&self) -> ArrayView1<'_, usize>
Return the column index vector
Source§fn get_row_ind(&self) -> ArrayView1<'_, usize>
fn get_row_ind(&self) -> ArrayView1<'_, usize>
Return the row index vector
fn get_c_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_x_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_r_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_col_ind_mut(&mut self) -> ArrayViewMut1<'_, usize>
fn get_row_ind_mut(&mut self) -> ArrayViewMut1<'_, usize>
Source§impl TwoSidedIDTraits for TwoSidedID<c64>
impl TwoSidedIDTraits for TwoSidedID<c64>
type A = Complex<f64>
Source§fn get_c(&self) -> ArrayView2<'_, Self::A>
fn get_c(&self) -> ArrayView2<'_, Self::A>
Return the C matrix
Source§fn get_x(&self) -> ArrayView2<'_, Self::A>
fn get_x(&self) -> ArrayView2<'_, Self::A>
Return the X matrix
Source§fn get_r(&self) -> ArrayView2<'_, Self::A>
fn get_r(&self) -> ArrayView2<'_, Self::A>
Return the R matrix
Source§fn get_col_ind(&self) -> ArrayView1<'_, usize>
fn get_col_ind(&self) -> ArrayView1<'_, usize>
Return the column index vector
Source§fn get_row_ind(&self) -> ArrayView1<'_, usize>
fn get_row_ind(&self) -> ArrayView1<'_, usize>
Return the row index vector
fn get_c_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_x_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_r_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_col_ind_mut(&mut self) -> ArrayViewMut1<'_, usize>
fn get_row_ind_mut(&mut self) -> ArrayViewMut1<'_, usize>
Source§impl TwoSidedIDTraits for TwoSidedID<f32>
impl TwoSidedIDTraits for TwoSidedID<f32>
type A = f32
Source§fn get_c(&self) -> ArrayView2<'_, Self::A>
fn get_c(&self) -> ArrayView2<'_, Self::A>
Return the C matrix
Source§fn get_x(&self) -> ArrayView2<'_, Self::A>
fn get_x(&self) -> ArrayView2<'_, Self::A>
Return the X matrix
Source§fn get_r(&self) -> ArrayView2<'_, Self::A>
fn get_r(&self) -> ArrayView2<'_, Self::A>
Return the R matrix
Source§fn get_col_ind(&self) -> ArrayView1<'_, usize>
fn get_col_ind(&self) -> ArrayView1<'_, usize>
Return the column index vector
Source§fn get_row_ind(&self) -> ArrayView1<'_, usize>
fn get_row_ind(&self) -> ArrayView1<'_, usize>
Return the row index vector
fn get_c_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_x_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_r_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_col_ind_mut(&mut self) -> ArrayViewMut1<'_, usize>
fn get_row_ind_mut(&mut self) -> ArrayViewMut1<'_, usize>
Source§impl TwoSidedIDTraits for TwoSidedID<f64>
impl TwoSidedIDTraits for TwoSidedID<f64>
type A = f64
Source§fn get_c(&self) -> ArrayView2<'_, Self::A>
fn get_c(&self) -> ArrayView2<'_, Self::A>
Return the C matrix
Source§fn get_x(&self) -> ArrayView2<'_, Self::A>
fn get_x(&self) -> ArrayView2<'_, Self::A>
Return the X matrix
Source§fn get_r(&self) -> ArrayView2<'_, Self::A>
fn get_r(&self) -> ArrayView2<'_, Self::A>
Return the R matrix
Source§fn get_col_ind(&self) -> ArrayView1<'_, usize>
fn get_col_ind(&self) -> ArrayView1<'_, usize>
Return the column index vector
Source§fn get_row_ind(&self) -> ArrayView1<'_, usize>
fn get_row_ind(&self) -> ArrayView1<'_, usize>
Return the row index vector
fn get_c_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_x_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_r_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_col_ind_mut(&mut self) -> ArrayViewMut1<'_, usize>
fn get_row_ind_mut(&mut self) -> ArrayViewMut1<'_, usize>
Auto Trait Implementations§
impl<A> Freeze for TwoSidedID<A>
impl<A> RefUnwindSafe for TwoSidedID<A>where
A: RefUnwindSafe,
impl<A> Send for TwoSidedID<A>where
A: Send,
impl<A> Sync for TwoSidedID<A>where
A: Sync,
impl<A> Unpin for TwoSidedID<A>
impl<A> UnwindSafe for TwoSidedID<A>where
A: RefUnwindSafe,
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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