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 < typename T > | |
T | Digamma (T x) |
This function calculates and returns digamma(x). More... | |
template < typename T > | |
T | Digamma12 (T x) |
This function calculates and returns Digamma(x) when x is in the interval [1, 2]. More... | |
template < typename T > | |
T | DigammaLarge (T x) |
This function calculates and returns Digamma(x) when x > 10. More... | |
template<std::size_t N, typename T > | |
std::enable_if< N==7, T >::type | EvaluatePoly12 (const T(&a)[N], const T &x) |
This function evaluates the polynomial based on the constants passed to the function. More... | |
template<std::size_t N, typename T > | |
std::enable_if< N==6, T >::type | EvaluatePoly12 (const T(&a)[N], const T &x) |
This function evaluates the polynomial based on the constants passed to the function. More... | |
template<std::size_t N, typename T > | |
std::enable_if< N==8, T >::type | EvaluatePolyLarge (const T(&a)[N], const T &x) |
This function evaluates the polynomial based on the constants passed to the function. More... | |
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 digamma.hpp.