[][src]Trait ndarray_einsum_beta::ArrayLike

pub trait ArrayLike<A> {
    fn into_dyn_view(&self) -> ArrayView<A, IxDyn>;
}

This trait is implemented for all ArrayBase variants and is parameterized by the data type.

It's here so einsum and the other functions accepting a list of operands can take a slice &[&dyn ArrayLike<A>] where the elements of the slice can have different numbers of dimensions and can be a mixture of Array and ArrayView.

Required methods

fn into_dyn_view(&self) -> ArrayView<A, IxDyn>

Loading content...

Implementations on Foreign Types

impl<A, S, D> ArrayLike<A> for ArrayBase<S, D> where
    S: Data<Elem = A>,
    D: Dimension
[src]

Loading content...

Implementors

Loading content...