pub struct MGS<A: Scalar> { /* private fields */ }
Expand description
Iterative orthogonalizer using modified Gram-Schmit procedure
Implementations
Trait Implementations
sourceimpl<A: Scalar + Lapack> Orthogonalizer for MGS<A>
impl<A: Scalar + Lapack> Orthogonalizer for MGS<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
A: Lapack,
S: Data<Elem = A>,
fn coeff<S>(&self, a: ArrayBase<S, Ix1>) -> Array1<A> where
A: Lapack,
S: Data<Elem = A>,
Calculate the coefficient to the current basis basis Read more
sourcefn append<S>(&mut self, a: ArrayBase<S, Ix1>) -> AppendResult<A> where
A: Lapack,
S: Data<Elem = A>,
fn append<S>(&mut self, a: ArrayBase<S, Ix1>) -> AppendResult<A> where
A: Lapack,
S: Data<Elem = A>,
Add new vector if the residual is larger than relative tolerance
sourcefn div_append<S>(&mut self, a: &mut ArrayBase<S, Ix1>) -> AppendResult<A> where
A: Lapack,
S: DataMut<Elem = A>,
fn div_append<S>(&mut self, a: &mut ArrayBase<S, Ix1>) -> AppendResult<A> where
A: Lapack,
S: DataMut<Elem = A>,
Add new vector if the residual is larger than relative tolerance, and return the residual vector Read more
fn is_empty(&self) -> bool
Auto Trait Implementations
impl<A> RefUnwindSafe for MGS<A> where
A: RefUnwindSafe,
<A as Scalar>::Real: RefUnwindSafe,
impl<A> Send for MGS<A> where
A: Send,
<A as Scalar>::Real: Send,
impl<A> Sync for MGS<A> where
A: Sync,
<A as Scalar>::Real: Sync,
impl<A> Unpin for MGS<A> where
<A as Scalar>::Real: Unpin,
impl<A> UnwindSafe for MGS<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