gamma_derivatives.qbk 1.5 KB

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