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