Type Definition Dual
hyperdual
type Dual<T> = Hyperdual<T, U2>;
impl<T: Copy + Scalar> Dual<T>
pub fn new(real: T, dual: T) -> Dual<T>
pub fn dual(&self) -> T
pub fn dual_ref(&self) -> &T
Returns a reference to the dual part
pub fn dual_mut(&mut self) -> &mut T
Returns a mutable reference to the dual part