Trait RawTensor

Source
pub trait RawTensor<A, D> {
    type Repr: RawData<Elem = A>;
    type Container<U: RawData, V: Dimension>;
}
Expand description

The RawTensor trait defines the base interface for all tensors,

Required Associated Types§

Source

type Repr: RawData<Elem = A>

Source

type Container<U: RawData, V: Dimension>

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> RawTensor<A, D> for ArrayBase<S, D>
where S: RawData<Elem = A>, A: Scalar, D: Dimension,

Implementors§