Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想计算 R 中 digamma 函数的导数。
R 有一个名为 的现有函数digamma,但我找不到 digamma 函数的导数函数。是否可以在 R 中为微分 digamma 函数编写代码?
digamma
谢谢。
当然,它被称为trigamma
trigamma
q <- trigamma(3)
还有psigamma: psigamma(x, deriv) (deriv >= 0) 计算 ψ(x) 的 deriv-th 导数。
psigamma