Trait ArrayLike

Source
pub trait ArrayLike<A = f64, D = Ix2>
where D: Dimension,
{ type Output; // Required method fn array_like<Sh>(&self, shape: Sh, elem: A) -> Self::Output where Sh: ShapeBuilder<Dim = D>; }

Required Associated Types§

Required Methods§

Source

fn array_like<Sh>(&self, shape: Sh, elem: A) -> Self::Output
where Sh: ShapeBuilder<Dim = D>,

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, S, D> ArrayLike<A, D> for ArrayBase<S, D>
where A: Clone, D: Dimension, S: DataOwned<Elem = A>,

Source§

type Output = ArrayBase<S, D>

Source§

fn array_like<Sh>(&self, shape: Sh, elem: A) -> Self::Output
where Sh: ShapeBuilder<Dim = D>,

Implementors§