trigamma.hpp File Reference
Include dependency graph for trigamma.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 
Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::math
 
Miscellaneous math routines.
 

Functions

template<std::size_t N, typename T >
std::enable_if< N==6, T >::type EvaluatePolyPrec (const T(&a)[N], const T &x)
 This function evaluates the polynomial based on the constants passed to the functions. More...

 
template<std::size_t N, typename T >
std::enable_if< N==7, T >::type EvaluatePolyPrec (const T(&a)[N], const T &x)
 This function evaluates the polynomial based on the constants passed to the functions. More...

 
template
<
typename
T
>
Trigamma (T x)
 This function calculates and returns Trigamma(x). More...

 
template
<
typename
T
>
TrigammaPrec (T x)
 This function calculates and returns Trigamma(x) when x > 1. More...

 

Detailed Description

Author
Gopi Tatiraju

Some parts of the implementation are inspired from boost. Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.

Definition in file trigamma.hpp.