.TH "src/mlpack/core/metrics/lmetric.hpp" 3 "Tue Sep 9 2014" "Version 1.0.10" "MLPACK" \" -*- nroff -*- .ad l .nh .SH NAME src/mlpack/core/metrics/lmetric.hpp \- .SH SYNOPSIS .br .PP .SS "Classes" .in +1c .ti -1c .RI "class \fBmlpack::metric::LMetric< Power, TakeRoot >\fP" .br .RI "\fIThe L_p metric for arbitrary integer p, with an option to take the root\&. \fP" .in -1c .SS "Namespaces" .in +1c .ti -1c .RI " \fBmlpack\fP" .br .RI "\fILinear algebra utility functions, generally performed on matrices or vectors\&. \fP" .ti -1c .RI " \fBmlpack::metric\fP" .br .in -1c .SS "Typedefs" .in +1c .ti -1c .RI "typedef LMetric< INT_MAX, false > \fBmlpack::metric::ChebyshevDistance\fP" .br .ti -1c .RI "typedef LMetric< 2, true > \fBmlpack::metric::EuclideanDistance\fP" .br .ti -1c .RI "typedef LMetric< 1, false > \fBmlpack::metric::ManhattanDistance\fP" .br .ti -1c .RI "typedef LMetric< 2, false > \fBmlpack::metric::SquaredEuclideanDistance\fP" .br .in -1c .SH "Detailed Description" .PP .PP \fBAuthor:\fP .RS 4 Ryan Curtin .RE .PP Generalized L-metric, allowing both squared distances to be returned as well as non-squared distances\&. The squared distances are faster to compute\&. .PP This also gives several convenience typedefs for commonly used L-metrics\&. .PP This file is part of MLPACK 1\&.0\&.10\&. .PP MLPACK is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version\&. .PP MLPACK is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\&. See the GNU Lesser General Public License for more details (LICENSE\&.txt)\&. .PP You should have received a copy of the GNU General Public License along with MLPACK\&. If not, see http://www.gnu.org/licenses/\&. .PP Definition in file \fBlmetric\&.hpp\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MLPACK from the source code\&.