| psigamma | R Documentation |
Computes \psi^{(n)}(x) where n is the derivative order.
The derivative of \psi^{(n)}(x) is \psi^{(n+1)}(x).
psigamma(x, deriv = 0L)
## S4 method for signature 'numeric'
psigamma(x, deriv = 0L)
## S4 method for signature 'dualr'
psigamma(x, deriv = 0L)
x |
A numeric or dual value. |
deriv |
Integer derivative order (0 = digamma, 1 = trigamma, etc.). |
The polygamma function value.
psigamma(1, deriv = 0)
x <- dual_variable(2)
value(psigamma(x, deriv = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.