@@ -3,6 +3,12 @@ derivatives of Bessel functions with respect to the order are not implemented cu
3
3
https://github.com/JuliaMath/SpecialFunctions.jl/issues/160
4
4
"""
5
5
6
+ const INCOMPLETE_GAMMA_INFO = """
7
+ derivatives of the incomplete Gamma functions with respect to parameter `a` are not
8
+ implemented currently:
9
+ https://github.com/JuliaMath/SpecialFunctions.jl/issues/317
10
+ """
11
+
6
12
ChainRulesCore. @scalar_rule (airyai (x), airyaiprime (x))
7
13
ChainRulesCore. @scalar_rule (airyaiprime (x), x * airyai (x))
8
14
ChainRulesCore. @scalar_rule (airybi (x), airybiprime (x))
@@ -29,20 +35,20 @@ ChainRulesCore.@scalar_rule(gamma(x), Ω * digamma(x))
29
35
ChainRulesCore. @scalar_rule (
30
36
gamma (a, x),
31
37
(
32
- ChainRulesCore. @thunk ( error ( " not implemented " ) ),
38
+ ChainRulesCore. @not_implemented (INCOMPLETE_GAMMA_INFO ),
33
39
- exp (- x) * x^ (a - 1 ),
34
40
),
35
41
)
36
42
ChainRulesCore. @scalar_rule (
37
43
gamma_inc (a, x, IND),
38
44
@setup (z = exp (- x) * x^ (a - 1 ) / gamma (a)),
39
45
(
40
- ChainRulesCore. @thunk ( error ( " not implemented " ) ),
46
+ ChainRulesCore. @not_implemented (INCOMPLETE_GAMMA_INFO ),
41
47
z,
42
48
ChainRulesCore. DoesNotExist (),
43
49
),
44
50
(
45
- ChainRulesCore. @thunk ( error ( " not implemented " ) ),
51
+ ChainRulesCore. @not_implemented (INCOMPLETE_GAMMA_INFO ),
46
52
- z,
47
53
ChainRulesCore. DoesNotExist (),
48
54
),
@@ -122,7 +128,7 @@ ChainRulesCore.@scalar_rule(loggamma(x), digamma(x))
122
128
ChainRulesCore. @scalar_rule (
123
129
loggamma (a, x),
124
130
(
125
- ChainRulesCore. @thunk ( error ( " not implemented " ) ),
131
+ ChainRulesCore. @not_implemented (INCOMPLETE_GAMMA_INFO ),
126
132
- exp (- (x + Ω)) * x^ (a - 1 ),
127
133
)
128
134
)
0 commit comments