Struct ndarray_linalg::krylov::householder::Householder
source · [−]pub struct Householder<A: Scalar> { /* private fields */ }
Expand description
Iterative orthogonalizer using Householder reflection
Implementations
sourceimpl<A: Scalar + Lapack> Householder<A>
impl<A: Scalar + Lapack> Householder<A>
sourcepub fn forward_reflection<S>(&self, a: &mut ArrayBase<S, Ix1>) where
S: DataMut<Elem = A>,
pub fn forward_reflection<S>(&self, a: &mut ArrayBase<S, Ix1>) where
S: DataMut<Elem = A>,
Take forward reflection P = P_l ... P_1
sourcepub fn backward_reflection<S>(&self, a: &mut ArrayBase<S, Ix1>) where
S: DataMut<Elem = A>,
pub fn backward_reflection<S>(&self, a: &mut ArrayBase<S, Ix1>) where
S: DataMut<Elem = A>,
Take backward reflection P = P_1 ... P_l
Trait Implementations
sourceimpl<A: Clone + Scalar> Clone for Householder<A> where
A::Real: Clone,
impl<A: Clone + Scalar> Clone for Householder<A> where
A::Real: Clone,
sourcefn clone(&self) -> Householder<A>
fn clone(&self) -> Householder<A>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<A: Scalar + Lapack> Orthogonalizer for Householder<A>
impl<A: Scalar + Lapack> Orthogonalizer for Householder<A>
type Elem = A
fn tolerance(&self) -> A::Real
sourcefn decompose<S>(&self, a: &mut ArrayBase<S, Ix1>) -> Array1<A> where
S: DataMut<Elem = A>,
fn decompose<S>(&self, a: &mut ArrayBase<S, Ix1>) -> Array1<A> where
S: DataMut<Elem = A>,
Decompose given vector into the span of current basis and its tangent space Read more
sourcefn coeff<S>(&self, a: ArrayBase<S, Ix1>) -> Array1<A> where
S: Data<Elem = A>,
fn coeff<S>(&self, a: ArrayBase<S, Ix1>) -> Array1<A> where
S: Data<Elem = A>,
Calculate the coefficient to the current basis basis Read more
sourcefn div_append<S>(&mut self, a: &mut ArrayBase<S, Ix1>) -> AppendResult<A> where
S: DataMut<Elem = A>,
fn div_append<S>(&mut self, a: &mut ArrayBase<S, Ix1>) -> AppendResult<A> where
S: DataMut<Elem = A>,
Add new vector if the residual is larger than relative tolerance, and return the residual vector Read more
sourcefn append<S>(&mut self, a: ArrayBase<S, Ix1>) -> AppendResult<A> where
S: Data<Elem = A>,
fn append<S>(&mut self, a: ArrayBase<S, Ix1>) -> AppendResult<A> where
S: Data<Elem = A>,
Add new vector if the residual is larger than relative tolerance
fn is_empty(&self) -> bool
Auto Trait Implementations
impl<A> RefUnwindSafe for Householder<A> where
A: RefUnwindSafe,
<A as Scalar>::Real: RefUnwindSafe,
impl<A> Send for Householder<A> where
A: Send,
<A as Scalar>::Real: Send,
impl<A> Sync for Householder<A> where
A: Sync,
<A as Scalar>::Real: Sync,
impl<A> Unpin for Householder<A> where
<A as Scalar>::Real: Unpin,
impl<A> UnwindSafe for Householder<A> where
A: RefUnwindSafe,
<A as Scalar>::Real: UnwindSafe,
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