mlpack
|
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 | mlpack::math::LogAdd (T x, T y) |
Internal log-addition. More... | |
template<typename T > | |
T::elem_type | mlpack::math::AccuLog (const T &x) |
Log-sum a vector of log values. More... | |
template<typename T , bool InPlace = false> | |
void | mlpack::math::LogSumExp (const T &x, arma::Col< typename T::elem_type > &y) |
Compute the sum of exponentials of each element in each column, then compute the log of that. More... | |
template<typename T , bool InPlace = false> | |
void | mlpack::math::LogSumExpT (const T &x, arma::Col< typename T::elem_type > &y) |
Compute the sum of exponentials of each element in each row, then compute the log of that. More... | |
Functions for logarithmic addition.
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.