• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[section:gamma_derivatives Derivative of the Incomplete Gamma Function]
2
3[h4 Synopsis]
4
5``
6#include <boost/math/special_functions/gamma.hpp>
7``
8
9   namespace boost{ namespace math{
10
11   template <class T1, class T2>
12   ``__sf_result`` gamma_p_derivative(T1 a, T2 x);
13
14   template <class T1, class T2, class ``__Policy``>
15   ``__sf_result`` gamma_p_derivative(T1 a, T2 x, const ``__Policy``&);
16
17   }} // namespaces
18
19[h4 Description]
20
21This function find some uses in statistical distributions: it
22implements the partial derivative with respect to /x/ of the incomplete
23gamma function.
24
25[equation derivative1]
26
27[optional_policy]
28
29Note that the derivative of the function __gamma_q can be obtained by negating
30the result of this function.
31
32The return type of this function is computed using the __arg_promotion_rules
33when T1 and T2 are different types, otherwise the return type is simply T1.
34
35[h4 Accuracy]
36
37Almost identical to the incomplete gamma function __gamma_p: refer to
38the documentation for that function for more information.
39
40[h4 Implementation]
41
42This function just expose some of the internals of the incomplete
43gamma function __gamma_p: refer to the documentation for that function
44for more information.
45
46[endsect] [/section Derivative of the Incomplete Gamma Functions]
47[/
48  Copyright 2006 John Maddock and Paul A. Bristow.
49  Distributed under the Boost Software License, Version 1.0.
50  (See accompanying file LICENSE_1_0.txt or copy at
51  http://www.boost.org/LICENSE_1_0.txt).
52]
53
54
55