| dual-coerce | R Documentation |
Extracts the primal value, discarding the derivative.
## S4 method for signature 'dualr'
as.numeric(x, ...)
x |
A |
... |
Ignored. |
Numeric value.
x <- dual(3.14, 1)
as.numeric(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.