pub struct Sym;Expand description
A tensor of the form T₍ᵢⱼ₎
Trait Implementations§
Source§impl<const N: usize> TensorIndex<N, 2> for Sym
impl<const N: usize> TensorIndex<N, 2> for Sym
Source§type Indices = SymIndices<N>
type Indices = SymIndices<N>
Type of iterator over valid tensor indices.
Source§fn offset_from_index([row, col]: [usize; 2]) -> usize
fn offset_from_index([row, col]: [usize; 2]) -> usize
Converts a valid index into a buffer offset for tensor storage.
Auto Trait Implementations§
impl Freeze for Sym
impl RefUnwindSafe for Sym
impl Send for Sym
impl Sync for Sym
impl Unpin for Sym
impl UnsafeUnpin for Sym
impl UnwindSafe for Sym
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more