| dual_variable | R Documentation |
Convenience constructor for the independent variable when computing
derivatives. Sets deriv = 1 so that the output's derivative slot
contains df/dx.
dual_variable(x)
x |
A numeric value. |
A dual with value = x and deriv = 1.
x <- dual_variable(2)
deriv(x^2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.