MLPACK
1.0.7
|
Go to the source code of this file.
Namespaces | |
namespace | mlpack |
Linear algebra utility functions, generally performed on matrices or vectors. | |
namespace | mlpack::math |
Miscellaneous math routines. | |
Functions | |
void | mlpack::math::Center (const arma::mat &x, arma::mat &xCentered) |
Creates a centered matrix, where centering is done by subtracting the sum over the columns (a column vector) from each column of the matrix. More... | |
void | mlpack::math::Orthogonalize (const arma::mat &x, arma::mat &W) |
Orthogonalize x and return the result in W, using eigendecomposition. More... | |
void | mlpack::math::Orthogonalize (arma::mat &x) |
Orthogonalize x in-place. More... | |
void | mlpack::math::RandVector (arma::vec &v) |
Overwrites a dimension-N vector to a random vector on the unit sphere in R^N. More... | |
void | mlpack::math::RemoveRows (const arma::mat &input, const std::vector< size_t > &rowsToRemove, arma::mat &output) |
Remove a certain set of rows in a matrix while copying to a second matrix. More... | |
void | mlpack::math::VectorPower (arma::vec &vec, double power) |
Auxiliary function to raise vector elements to a specific power. More... | |
void | mlpack::math::WhitenUsingEig (const arma::mat &x, arma::mat &xWhitened, arma::mat &whiteningMatrix) |
Whitens a matrix using the eigendecomposition of the covariance matrix. More... | |
void | mlpack::math::WhitenUsingSVD (const arma::mat &x, arma::mat &xWhitened, arma::mat &whiteningMatrix) |
Whitens a matrix using the singular value decomposition of the covariance matrix. More... | |
Linear algebra utilities.
This file is part of MLPACK 1.0.7.
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.
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).
You should have received a copy of the GNU General Public License along with MLPACK. If not, see http://www.gnu.org/licenses/.
Definition in file lin_alg.hpp.