Struct cagra::operators::add::Add
[−]
[src]
pub struct Add;
Trait Implementations
impl Debug for Add
[src]
impl Clone for Add
[src]
fn clone(&self) -> Add
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Add
[src]
impl<A: Scalar> BinaryOperator<A> for Add
[src]
fn eval_value(&self, lhs: &Value<A>, rhs: &Value<A>) -> Result<Value<A>>
[src]
Evaluate the result value of the operator
fn eval_deriv(
&self,
_lhs: &Value<A>,
_rhs: &Value<A>,
deriv: &Value<A>
) -> Result<(Value<A>, Value<A>)>
[src]
&self,
_lhs: &Value<A>,
_rhs: &Value<A>,
deriv: &Value<A>
) -> Result<(Value<A>, Value<A>)>
Evaluate the derivative of the operator multiplied by the received derivative from upper of the graph. Read more