TensorRank1RefVec

Type Alias TensorRank1RefVec 

Source
pub type TensorRank1RefVec<'a, const D: usize, const I: usize> = TensorVector<&'a TensorRank1<D, I>>;

Aliased Type§

pub struct TensorRank1RefVec<'a, const D: usize, const I: usize>(/* private fields */);

Implementations§

Source§

impl<'a, const D: usize, const I: usize> TensorRank1RefVec<'a, D, I>

Source

pub fn iter(&self) -> impl Iterator<Item = &&TensorRank1<D, I>>

Source

pub fn is_empty(&self) -> bool

Source

pub fn len(&self) -> usize

Trait Implementations§

Source§

impl<'a, const D: usize, const I: usize> Index<usize> for TensorRank1RefVec<'a, D, I>

Source§

type Output = TensorRank1<D, I>

The returned type after indexing.
Source§

fn index(&self, index: usize) -> &Self::Output

Performs the indexing (container[index]) operation. Read more