Struct rulinalg::matrix::decomposition::HouseholderComposition
source · [−]pub struct HouseholderComposition<'a, T>where
T: 'a,{ /* private fields */ }
Expand description
An efficient representation for a composition of Householder transformations.
This means that HouseholderComposition
represents
an operator Q
of the form
Q = Q_1 * Q_2 * ... * Q_p
as explained in the documentation for HouseholderQr.
Implementations
sourceimpl<'a, T> HouseholderComposition<'a, T>where
T: Float,
impl<'a, T> HouseholderComposition<'a, T>where
T: Float,
sourcepub fn left_multiply_into<X>(&self, matrix: &mut X)where
X: BaseMatrixMut<T>,
pub fn left_multiply_into<X>(&self, matrix: &mut X)where
X: BaseMatrixMut<T>,
Given a matrix A
of compatible dimensions, computes
the product A <- QA
, storing the result in A
.
sourcepub fn first_k_columns(&self, k: usize) -> Matrix<T>
pub fn first_k_columns(&self, k: usize) -> Matrix<T>
Computes the first k columns of the implicitly
stored matrix Q
.
Panics
k
must be less than or equal tom
, the number of rows ofQ
.
Trait Implementations
sourceimpl<'a, T: Clone> Clone for HouseholderComposition<'a, T>where
T: 'a,
impl<'a, T: Clone> Clone for HouseholderComposition<'a, T>where
T: 'a,
sourcefn clone(&self) -> HouseholderComposition<'a, T>
fn clone(&self) -> HouseholderComposition<'a, T>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<'a, T> RefUnwindSafe for HouseholderComposition<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for HouseholderComposition<'a, T>where
T: Sync,
impl<'a, T> Sync for HouseholderComposition<'a, T>where
T: Sync,
impl<'a, T> Unpin for HouseholderComposition<'a, T>
impl<'a, T> UnwindSafe for HouseholderComposition<'a, T>where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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