Struct algebloat::row_accessor::RowAccessor
[−]
[src]
pub struct RowAccessor<T> { /* fields omitted */ }
Methods
impl<T: MatrixShape> RowAccessor<T>
[src]
unsafe fn unsafe_new(base: T, row: usize) -> RowAccessor<T>
fn new(base: T, row: usize) -> RowAccessor<T>
Trait Implementations
impl<T: Copy> Copy for RowAccessor<T>
[src]
impl<T: MatrixShape> MatrixShape for RowAccessor<T>
[src]
fn nrow(&self) -> usize
fn ncol(&self) -> usize
fn size(&self) -> (usize, usize)
fn len(&self) -> usize
impl<T: MatrixShape> SameShape for RowAccessor<T>
[src]
fn same_shape(&self, nrow: usize, ncol: usize) -> bool
impl<T: MatrixRawGet + MatrixShape> MatrixRawGet for RowAccessor<T>
[src]
impl<T: MatrixRawSet + MatrixShape> MatrixRawSet for RowAccessor<T>
[src]
impl<T: MatrixShape + MatrixRawGet> Display for RowAccessor<T>
[src]
impl<T: Clone> Clone for RowAccessor<T>
[src]
fn clone(&self) -> RowAccessor<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<RHS: MatrixRawGet + Clone + SameShape, T: MatrixShape + Clone> Add<RHS> for RowAccessor<T>
[src]
type Output = MatrixBinOp<RowAccessor<T>, RHS, OpAdd>
The resulting type after applying the +
operator
fn add(self, rhs: RHS) -> MatrixBinOp<RowAccessor<T>, RHS, OpAdd>
The method for the +
operator
impl<RHS: MatrixRawGet + Clone + SameShape, T: MatrixShape + Clone> Sub<RHS> for RowAccessor<T>
[src]
type Output = MatrixBinOp<RowAccessor<T>, RHS, OpSub>
The resulting type after applying the -
operator
fn sub(self, rhs: RHS) -> MatrixBinOp<RowAccessor<T>, RHS, OpSub>
The method for the -
operator
impl<RHS: MatrixRawGet + Clone + SameShape, T: MatrixShape + Clone> Mul<RHS> for RowAccessor<T>
[src]
type Output = MatrixBinOp<RowAccessor<T>, RHS, OpMul>
The resulting type after applying the *
operator
fn mul(self, rhs: RHS) -> MatrixBinOp<RowAccessor<T>, RHS, OpMul>
The method for the *
operator
impl<RHS: MatrixRawGet + Clone + SameShape, T: MatrixShape + Clone> Div<RHS> for RowAccessor<T>
[src]
type Output = MatrixBinOp<RowAccessor<T>, RHS, OpDiv>
The resulting type after applying the /
operator
fn div(self, rhs: RHS) -> MatrixBinOp<RowAccessor<T>, RHS, OpDiv>
The method for the /
operator
impl<T: MatrixShape + Clone> Neg for RowAccessor<T>
[src]
type Output = MatrixUnOp<RowAccessor<T>, OpNeg>
The resulting type after applying the -
operator
fn neg(self) -> MatrixUnOp<RowAccessor<T>, OpNeg>
The method for the unary -
operator