| MathFun | R Documentation |
The function abs(x) computes the absolute value of x,
while sqrt(x) computes the square root of x.
## S4 method for signature 'dual'
sqrt(x)
## S4 method for signature 'dual'
abs(x)
x |
a dual object or numeric value. |
A dual object containing the transformed values according to the chosen function.
x <- dual(4.3, 1:0)
y <- dual(7.6, 0:1)
abs(-2.2 * x + 0.321 * y)
sqrt(y - x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.