|
mlpack
master
|


Go to the source code of this file.
Classes | |
| class | mlpack::metric::LMetric< TPower, TTakeRoot > |
| The L_p metric for arbitrary integer p, with an option to take the root. More... | |
Namespaces | |
| mlpack | |
| Linear algebra utility functions, generally performed on matrices or vectors. | |
| mlpack::metric | |
Typedefs | |
| typedef LMetric< INT_MAX, false > | mlpack::metric::ChebyshevDistance |
| The L-infinity distance. More... | |
| typedef LMetric< 2, true > | mlpack::metric::EuclideanDistance |
| The Euclidean (L2) distance. More... | |
| typedef LMetric< 1, false > | mlpack::metric::ManhattanDistance |
| The Manhattan (L1) distance. More... | |
| typedef LMetric< 2, false > | mlpack::metric::SquaredEuclideanDistance |
| The squared Euclidean (L2) distance. More... | |
Generalized L-metric, allowing both squared distances to be returned as well as non-squared distances. The squared distances are faster to compute.
This also gives several convenience typedefs for commonly used L-metrics.
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 lmetric.hpp.
1.8.11