Struct ndarray_linalg::TruncatedSvd[][src]

pub struct TruncatedSvd<A: Scalar> { /* fields omitted */ }

Truncated singular value decomposition

Wraps the LOBPCG algorithm and provides convenient builder-pattern access to parameter like maximal iteration, precision and constraint matrix.

Implementations

impl<A: Float + Scalar + ScalarOperand + Lapack + PartialOrd + Default> TruncatedSvd<A>[src]

pub fn new(problem: Array2<A>, order: Order) -> TruncatedSvd<A>[src]

pub fn precision(self, precision: f32) -> Self[src]

pub fn maxiter(self, maxiter: usize) -> Self[src]

pub fn decompose(self, num: usize) -> Result<TruncatedSvdResult<A>>[src]

Auto Trait Implementations

impl<A> RefUnwindSafe for TruncatedSvd<A> where
    A: RefUnwindSafe

impl<A> Send for TruncatedSvd<A> where
    A: Send

impl<A> Sync for TruncatedSvd<A> where
    A: Sync

impl<A> Unpin for TruncatedSvd<A>

impl<A> UnwindSafe for TruncatedSvd<A> where
    A: RefUnwindSafe

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<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>,