Description Usage Arguments Value Examples
View source: R/class_dual_construction.R
Dual number constructor
1 | dual(x, param_dim, ind)
|
x |
The object to be converted to a dual number. |
param_dim |
A named list. The dimension of the dual component to be attached. |
ind |
Integer; the index in 'param_dim' corresponding to 'x'. Use '-1' if it is not applicable. |
A dual number with components "x" and "dx". The first gives the value of 'f', and the second gives the derivative of 'f'.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.