Struct algebloat::view::View
[−]
[src]
pub struct View<T> { /* fields omitted */ }
Methods
impl<T: MatrixShape> View<T>
[src]
unsafe fn unsafe_new(base: T,
row_start: usize,
col_start: usize,
row_end: usize,
col_end: usize)
-> View<T>
row_start: usize,
col_start: usize,
row_end: usize,
col_end: usize)
-> View<T>
fn new(base: T,
row_start: usize,
col_start: usize,
row_end: usize,
col_end: usize)
-> View<T>
row_start: usize,
col_start: usize,
row_end: usize,
col_end: usize)
-> View<T>
Trait Implementations
impl<T: Copy> Copy for View<T>
[src]
impl<T: MatrixRawGet> MatrixRawGet for View<T>
[src]
impl<T: MatrixRawSet> MatrixRawSet for View<T>
[src]
impl<T> MatrixShape for View<T>
[src]
fn nrow(&self) -> usize
fn ncol(&self) -> usize
fn size(&self) -> (usize, usize)
fn len(&self) -> usize
impl<T: MatrixShape> SameShape for View<T>
[src]
fn same_shape(&self, nrow: usize, ncol: usize) -> bool
impl<T: Clone> Clone for View<T>
[src]
fn clone(&self) -> View<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<T: MatrixRawGet + MatrixShape> Display for View<T>
[src]
impl<RHS: MatrixRawGet + Clone + SameShape, T: MatrixShape + Clone> Add<RHS> for View<T>
[src]
type Output = MatrixBinOp<View<T>, RHS, OpAdd>
The resulting type after applying the +
operator
fn add(self, rhs: RHS) -> MatrixBinOp<View<T>, RHS, OpAdd>
The method for the +
operator
impl<RHS: MatrixRawGet + Clone + SameShape, T: MatrixShape + Clone> Sub<RHS> for View<T>
[src]
type Output = MatrixBinOp<View<T>, RHS, OpSub>
The resulting type after applying the -
operator
fn sub(self, rhs: RHS) -> MatrixBinOp<View<T>, RHS, OpSub>
The method for the -
operator
impl<RHS: MatrixRawGet + Clone + SameShape, T: MatrixShape + Clone> Mul<RHS> for View<T>
[src]
type Output = MatrixBinOp<View<T>, RHS, OpMul>
The resulting type after applying the *
operator
fn mul(self, rhs: RHS) -> MatrixBinOp<View<T>, RHS, OpMul>
The method for the *
operator
impl<RHS: MatrixRawGet + Clone + SameShape, T: MatrixShape + Clone> Div<RHS> for View<T>
[src]
type Output = MatrixBinOp<View<T>, RHS, OpDiv>
The resulting type after applying the /
operator
fn div(self, rhs: RHS) -> MatrixBinOp<View<T>, RHS, OpDiv>
The method for the /
operator
impl<T: MatrixShape + Clone> Neg for View<T>
[src]
type Output = MatrixUnOp<View<T>, OpNeg>
The resulting type after applying the -
operator
fn neg(self) -> MatrixUnOp<View<T>, OpNeg>
The method for the unary -
operator