Enum cagra::operators::BinaryOperatorAny
[−]
[src]
pub enum BinaryOperatorAny { Add(Add), }
Enumerate of BinaryOperator implementing BinaryOperator<A>
trait
Variants
Add(Add)
Trait Implementations
impl Debug for BinaryOperatorAny
[src]
impl Clone for BinaryOperatorAny
[src]
fn clone(&self) -> BinaryOperatorAny
[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 BinaryOperatorAny
[src]
impl From<Add> for BinaryOperatorAny
[src]
impl<A: Scalar> BinaryOperator<A> for BinaryOperatorAny
[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