Struct ndarray_linalg::krylov::arnoldi::Arnoldi[][src]

pub struct Arnoldi<A, S, F, Ortho> where
    A: Scalar,
    S: DataMut<Elem = A>,
    F: LinearOperator<Elem = A>,
    Ortho: Orthogonalizer<Elem = A>, 
{ /* fields omitted */ }

Execute Arnoldi iteration as Rust iterator

Implementations

impl<A, S, F, Ortho> Arnoldi<A, S, F, Ortho> where
    A: Scalar + Lapack,
    S: DataMut<Elem = A>,
    F: LinearOperator<Elem = A>,
    Ortho: Orthogonalizer<Elem = A>, 
[src]

pub fn new(a: F, v: ArrayBase<S, Ix1>, ortho: Ortho) -> Self[src]

Create an Arnoldi iterator from any linear operator a

pub fn dim(&self) -> usize[src]

Dimension of Krylov subspace

pub fn complete(self) -> (Q<A>, H<A>)[src]

Iterate until convergent

Trait Implementations

impl<A, S, F, Ortho> Iterator for Arnoldi<A, S, F, Ortho> where
    A: Scalar + Lapack,
    S: DataMut<Elem = A>,
    F: LinearOperator<Elem = A>,
    Ortho: Orthogonalizer<Elem = A>, 
[src]

type Item = Array1<A>

The type of the elements being iterated over.

Auto Trait Implementations

impl<A, S, F, Ortho> RefUnwindSafe for Arnoldi<A, S, F, Ortho> where
    A: RefUnwindSafe,
    F: RefUnwindSafe,
    Ortho: RefUnwindSafe,
    S: RefUnwindSafe

impl<A, S, F, Ortho> Send for Arnoldi<A, S, F, Ortho> where
    A: Send,
    F: Send,
    Ortho: Send,
    S: Send

impl<A, S, F, Ortho> Sync for Arnoldi<A, S, F, Ortho> where
    A: Sync,
    F: Sync,
    Ortho: Sync,
    S: Sync

impl<A, S, F, Ortho> Unpin for Arnoldi<A, S, F, Ortho> where
    F: Unpin,
    Ortho: Unpin,
    S: Unpin

impl<A, S, F, Ortho> UnwindSafe for Arnoldi<A, S, F, Ortho> where
    A: RefUnwindSafe,
    F: UnwindSafe,
    Ortho: UnwindSafe,
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,