Struct rusty_compression::svd::SVD
source · [−]Expand description
This structure stores the Singular Value Decomposition of a matrix
Fields
u: Array2<A>
The U matrix
s: Array1<A::Real>
The array of singular values
vt: Array2<A>
The vt matrix
Trait Implementations
sourceimpl SVDTraits for SVD<f32>
impl SVDTraits for SVD<f32>
type A = f32
fn get_u(&self) -> ArrayView2<'_, Self::A>
fn get_s(&self) -> ArrayView1<'_, <Self::A as Scalar>::Real>
fn get_vt(&self) -> ArrayView2<'_, Self::A>
fn get_u_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_s_mut(&mut self) -> ArrayViewMut1<'_, <Self::A as Scalar>::Real>
fn get_vt_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn compute_from(arr: ArrayView2<'_, Self::A>) -> Result<SVD<Self::A>>
sourcefn compute_from_range_estimate<Op: ConjMatMat<A = Self::A>>(
range: ArrayView2<'_, Self::A>,
op: &Op
) -> Result<SVD<Self::A>>
fn compute_from_range_estimate<Op: ConjMatMat<A = Self::A>>(
range: ArrayView2<'_, Self::A>,
op: &Op
) -> Result<SVD<Self::A>>
Compute a singular value decomposition from a range estimate Read more
sourceimpl SVDTraits for SVD<f64>
impl SVDTraits for SVD<f64>
type A = f64
fn get_u(&self) -> ArrayView2<'_, Self::A>
fn get_s(&self) -> ArrayView1<'_, <Self::A as Scalar>::Real>
fn get_vt(&self) -> ArrayView2<'_, Self::A>
fn get_u_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_s_mut(&mut self) -> ArrayViewMut1<'_, <Self::A as Scalar>::Real>
fn get_vt_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn compute_from(arr: ArrayView2<'_, Self::A>) -> Result<SVD<Self::A>>
sourcefn compute_from_range_estimate<Op: ConjMatMat<A = Self::A>>(
range: ArrayView2<'_, Self::A>,
op: &Op
) -> Result<SVD<Self::A>>
fn compute_from_range_estimate<Op: ConjMatMat<A = Self::A>>(
range: ArrayView2<'_, Self::A>,
op: &Op
) -> Result<SVD<Self::A>>
Compute a singular value decomposition from a range estimate Read more
sourceimpl SVDTraits for SVD<c32>
impl SVDTraits for SVD<c32>
type A = Complex<f32>
fn get_u(&self) -> ArrayView2<'_, Self::A>
fn get_s(&self) -> ArrayView1<'_, <Self::A as Scalar>::Real>
fn get_vt(&self) -> ArrayView2<'_, Self::A>
fn get_u_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_s_mut(&mut self) -> ArrayViewMut1<'_, <Self::A as Scalar>::Real>
fn get_vt_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn compute_from(arr: ArrayView2<'_, Self::A>) -> Result<SVD<Self::A>>
sourcefn compute_from_range_estimate<Op: ConjMatMat<A = Self::A>>(
range: ArrayView2<'_, Self::A>,
op: &Op
) -> Result<SVD<Self::A>>
fn compute_from_range_estimate<Op: ConjMatMat<A = Self::A>>(
range: ArrayView2<'_, Self::A>,
op: &Op
) -> Result<SVD<Self::A>>
Compute a singular value decomposition from a range estimate Read more
sourceimpl SVDTraits for SVD<c64>
impl SVDTraits for SVD<c64>
type A = Complex<f64>
fn get_u(&self) -> ArrayView2<'_, Self::A>
fn get_s(&self) -> ArrayView1<'_, <Self::A as Scalar>::Real>
fn get_vt(&self) -> ArrayView2<'_, Self::A>
fn get_u_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn get_s_mut(&mut self) -> ArrayViewMut1<'_, <Self::A as Scalar>::Real>
fn get_vt_mut(&mut self) -> ArrayViewMut2<'_, Self::A>
fn compute_from(arr: ArrayView2<'_, Self::A>) -> Result<SVD<Self::A>>
sourcefn compute_from_range_estimate<Op: ConjMatMat<A = Self::A>>(
range: ArrayView2<'_, Self::A>,
op: &Op
) -> Result<SVD<Self::A>>
fn compute_from_range_estimate<Op: ConjMatMat<A = Self::A>>(
range: ArrayView2<'_, Self::A>,
op: &Op
) -> Result<SVD<Self::A>>
Compute a singular value decomposition from a range estimate Read more
Auto Trait Implementations
impl<A> RefUnwindSafe for SVD<A> where
A: RefUnwindSafe,
<A as Scalar>::Real: RefUnwindSafe,
impl<A> Send for SVD<A> where
A: Send,
<A as Scalar>::Real: Send,
impl<A> Sync for SVD<A> where
A: Sync,
<A as Scalar>::Real: Sync,
impl<A> Unpin for SVD<A>
impl<A> UnwindSafe for SVD<A> where
A: RefUnwindSafe,
<A as Scalar>::Real: 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