[][src]Trait tensor_macros::traits::Tensor

pub trait Tensor: Index<usize> + IndexMut<usize> + PartialEq + Debug + Default + Copy + Clone {
    type Value: TensorTrait;

    const SIZE: usize;
    const NDIM: usize;

    fn dims() -> Vec<usize>;
fn get_dims(&self) -> Vec<usize>; }

Associated Types

Loading content...

Associated Constants

const SIZE: usize

const NDIM: usize

Loading content...

Required methods

fn dims() -> Vec<usize>

fn get_dims(&self) -> Vec<usize>

Loading content...

Implementors

impl<T: TensorTrait> Tensor for M22<T>[src]

type Value = T

impl<T: TensorTrait> Tensor for M23<T>[src]

type Value = T

impl<T: TensorTrait> Tensor for M24<T>[src]

type Value = T

impl<T: TensorTrait> Tensor for M32<T>[src]

type Value = T

impl<T: TensorTrait> Tensor for M33<T>[src]

type Value = T

impl<T: TensorTrait> Tensor for M34<T>[src]

type Value = T

impl<T: TensorTrait> Tensor for M42<T>[src]

type Value = T

impl<T: TensorTrait> Tensor for M43<T>[src]

type Value = T

impl<T: TensorTrait> Tensor for M44<T>[src]

type Value = T

impl<T: TensorTrait> Tensor for V2<T>[src]

type Value = T

impl<T: TensorTrait> Tensor for V3<T>[src]

type Value = T

impl<T: TensorTrait> Tensor for V4<T>[src]

type Value = T

Loading content...