| dual | R Documentation |
Create a dual number
dual(value, deriv = 0)
value |
The primal value (numeric or dual for nesting). |
deriv |
The derivative component (numeric or dual for nesting). Defaults to 0. |
A dual object.
x <- dual(3, 1)
value(x)
deriv(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.