Skip to content

Commit 1ad04d7

Browse files
committed
Uncomment derivatives of erfcx and dawson
These derivatives are correct. The derivative of Dawson function is reported at http://mathworld.wolfram.com/DawsonsIntegral.html. The derivative of `erfcx` can be worked out using the product rule.
1 parent 4da041b commit 1ad04d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/differentiate.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ symbolic_derivative_1arg_list = [
182182
( :besselj1, :( (besselj0(x) - besselj(2, x)) / 2 ))
183183
( :bessely0, :( -bessely1(x) ))
184184
( :bessely1, :( (bessely0(x) - bessely(2, x)) / 2 ))
185-
## ( :erfcx, :( (2 * x * erfcx(x) - 2 / sqrt(pi)) )) # uncertain
186-
## ( :dawson, :( (1 - 2x * dawson(x)) )) # uncertain
185+
( :erfcx, :( (2 * x * erfcx(x) - 2 / sqrt(pi)) ))
186+
( :dawson, :( (1 - 2x * dawson(x)) ))
187187

188188
]
189189

0 commit comments

Comments
 (0)