Skip to content

Commit 2a8a8c6

Browse files
Merge pull request #64 from jeff-regier/master
specified the derivative of the digamma function
2 parents 04be4fa + a04731c commit 2a8a8c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/differentiate.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ symbolic_derivative_1arg_list = [
166166
( :erfi, :( 2 * exp(square(x)) / sqrt(pi) ))
167167
( :gamma, :( digamma(x) * gamma(x) ))
168168
( :lgamma, :( digamma(x) ))
169+
( :digamma, :( polygamma(1, x) ))
169170
( :airy, :( airyprime(x) )) # note: only covers the 1-arg version
170171
( :airyprime, :( airy(2, x) ))
171172
( :airyai, :( airyaiprime(x) ))

0 commit comments

Comments
 (0)