.TH "src/mlpack/core/math/lin_alg.hpp" 3 "Tue Sep 9 2014" "Version 1.0.10" "MLPACK" \" -*- nroff -*- .ad l .nh .SH NAME src/mlpack/core/math/lin_alg.hpp \- .SH SYNOPSIS .br .PP .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::math\fP" .br .RI "\fIMiscellaneous math routines\&. \fP" .in -1c .SS "Functions" .in +1c .ti -1c .RI "void \fBmlpack::math::Center\fP (const arma::mat &x, arma::mat &xCentered)" .br .RI "\fICreates a centered matrix, where centering is done by subtracting the sum over the columns (a column vector) from each column of the matrix\&. \fP" .ti -1c .RI "void \fBmlpack::math::Orthogonalize\fP (const arma::mat &x, arma::mat &W)" .br .RI "\fIOrthogonalize x and return the result in W, using eigendecomposition\&. \fP" .ti -1c .RI "void \fBmlpack::math::Orthogonalize\fP (arma::mat &x)" .br .RI "\fIOrthogonalize x in-place\&. \fP" .ti -1c .RI "void \fBmlpack::math::RandVector\fP (arma::vec &v)" .br .RI "\fIOverwrites a dimension-N vector to a random vector on the unit sphere in R^N\&. \fP" .ti -1c .RI "void \fBmlpack::math::RemoveRows\fP (const arma::mat &input, const std::vector< size_t > &rowsToRemove, arma::mat &output)" .br .RI "\fIRemove a certain set of rows in a matrix while copying to a second matrix\&. \fP" .ti -1c .RI "void \fBmlpack::math::VectorPower\fP (arma::vec &vec, const double power)" .br .RI "\fIAuxiliary function to raise vector elements to a specific power\&. \fP" .ti -1c .RI "void \fBmlpack::math::WhitenUsingEig\fP (const arma::mat &x, arma::mat &xWhitened, arma::mat &whiteningMatrix)" .br .RI "\fIWhitens a matrix using the eigendecomposition of the covariance matrix\&. \fP" .ti -1c .RI "void \fBmlpack::math::WhitenUsingSVD\fP (const arma::mat &x, arma::mat &xWhitened, arma::mat &whiteningMatrix)" .br .RI "\fIWhitens a matrix using the singular value decomposition of the covariance matrix\&. \fP" .in -1c .SH "Detailed Description" .PP .PP \fBAuthor:\fP .RS 4 Nishant Mehta .RE .PP Linear algebra utilities\&. .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 \fBlin_alg\&.hpp\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MLPACK from the source code\&.