Trait WithLapackData

Source
pub trait WithLapackData
where Self: Data,
{ type D: Data; // Provided method fn with_lapack<I>(x: ArrayBase<Self, I>) -> ArrayBase<Self::D, I> where I: Dimension { ... } }

Required Associated Types§

Provided Methods§

Source

fn with_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> WithLapackData for ViewRepr<&'a F>

Source§

type D = ViewRepr<&'a <F as Float>::Lapack>

Source§

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

Source§

type D = ViewRepr<&'a mut <F as Float>::Lapack>

Source§

impl<F: Float> WithLapackData for OwnedRepr<F>

Implementors§