Struct ndarray_linalg::TruncatedEig [−][src]
Truncated eigenproblem solver
This struct wraps the LOBPCG algorithm and provides convenient builder-pattern access to parameter like maximal iteration, precision and constraint matrix. Furthermore it allows conversion into a iterative solver where each iteration step yields a new eigenvalue/vector pair.
Fields
constraints: Option<Array2<A>>
Implementations
impl<A: Float + Scalar + ScalarOperand + Lapack + PartialOrd + Default> TruncatedEig<A>
[src]
pub fn new(problem: Array2<A>, order: Order) -> TruncatedEig<A>
[src]
pub fn precision(self, precision: f32) -> Self
[src]
pub fn maxiter(self, maxiter: usize) -> Self
[src]
pub fn orthogonal_to(self, constraints: Array2<A>) -> Self
[src]
pub fn precondition_with(self, preconditioner: Array2<A>) -> Self
[src]
pub fn decompose(&self, num: usize) -> LobpcgResult<A>
[src]
Trait Implementations
impl<A: Float + Scalar + ScalarOperand + Lapack + PartialOrd + Default> IntoIterator for TruncatedEig<A>
[src]
Auto Trait Implementations
impl<A> RefUnwindSafe for TruncatedEig<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for TruncatedEig<A> where
A: Send,
A: Send,
impl<A> Sync for TruncatedEig<A> where
A: Sync,
A: Sync,
impl<A> Unpin for TruncatedEig<A>
impl<A> UnwindSafe for TruncatedEig<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,