| dualr-class | R Documentation |
S4 class representing a dual number a + b\varepsilon
where \varepsilon^2 = 0. The value slot holds the primal
value and the deriv slot holds the tangent (derivative) component.
Both slots accept ANY type to support nested duals for higher-order
derivatives.
valueThe primal (function) value. Numeric for first-order duals, or another dual for higher-order.
derivThe tangent (derivative) component. Numeric for first-order duals, or another dual for higher-order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.