Trait linfa::dataset::WithoutLapack[][src]

pub trait WithoutLapack<F: Float, D: Data + WithoutLapackData<F>, I: Dimension> {
    fn without_lapack(self) -> ArrayBase<D::D, I>;
}

Remove the Lapack bound to the floating point of a dataset

This helper trait is introduced to avoid leaking Lapack + Scalar bounds to the outside which causes ambiguities when calling functions like abs for num_traits::Float and Cauchy::Scalar. We are only using real values here, but the LAPACK routines require that Cauchy::Scalar is implemented.

Required methods

fn without_lapack(self) -> ArrayBase<D::D, I>[src]

Loading content...

Implementations on Foreign Types

impl<F: Float, D, I> WithoutLapack<F, D, I> for ArrayBase<D, I> where
    D: Data<Elem = F::Lapack> + WithoutLapackData<F>,
    I: Dimension
[src]

Loading content...

Implementors

Loading content...