namespace boost{ namespace math{
template <class T>
- ``__sf_result`` trigamma(T z);
+ ``__sf_result`` trigamma(T x);
template <class T, class ``__Policy``>
- ``__sf_result`` trigamma(T z, const ``__Policy``&);
+ ``__sf_result`` trigamma(T x, const ``__Policy``&);
}} // namespaces
The arbitrary precision version of this function simply calls __polygamma.
-For built in fixed precision types, negative arguments are first made positive via:
+For built in fixed-precision types, negative arguments are first made positive via:
[equation trigamma2]
[equation trigamma3]
-Then evaluation is via one of a number of rational approximations, for small x these are
+Then evaluation is via one of a number of rational approximations, for small /x/ these are
of the form:
[equation trigamma4]
-and for large x of the form:
+and for large /x/ of the form:
[equation trigamma5]
-[endsect][/section:digamma The Trigamma Function]
+[endsect] [/section:digamma The Trigamma Function]
[/
Copyright 2014 John Maddock and Paul A. Bristow.