Trait WithoutLapackData

Source
pub trait WithoutLapackData<F: Float>
where Self: Data,
{ type D: Data<Elem = F>; // Provided method fn without_lapack<I>(x: ArrayBase<Self, I>) -> ArrayBase<Self::D, I> where I: Dimension { ... } }

Required Associated Types§

Source

type D: Data<Elem = F>

Provided Methods§

Source

fn without_lapack<I>(x: ArrayBase<Self, I>) -> ArrayBase<Self::D, I>
where I: Dimension,

Add trait bound Lapack and Scalar to NdArray’s floating point

This is safe, because only implemented for D == Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a, F: Float> WithoutLapackData<F> for ViewRepr<&'a F::Lapack>

Source§

impl<'a, F: Float> WithoutLapackData<F> for ViewRepr<&'a mut F::Lapack>

Source§

impl<F: Float> WithoutLapackData<F> for OwnedRepr<F::Lapack>

Implementors§