pub trait Dualize {
    fn var(&self) -> Dual;
    fn par(&self) -> Dual;

    fn derive<DF>(&self, func: &DF) -> Dual
    where
        DF: DualFunction
, { ... } }
Expand description

Construct autodifferentiation-specific dual numbers and evaluate functions over them

Required Methods

Construct dual varable (with unit dual part)

Construct dual parameter (with zero dual part)

Provided Methods

Apply DualFunction to a value treated as dual variable

Implementations on Foreign Types

Implementors