Scroll to navigation

src/mlpack/core/math/lin_alg.hpp(3) MLPACK src/mlpack/core/math/lin_alg.hpp(3)

NAME

src/mlpack/core/math/lin_alg.hpp -

SYNOPSIS

Namespaces


mlpack
 
Linear algebra utility functions, generally performed on matrices or vectors. 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. void mlpack::math::Orthogonalize (const arma::mat &x, arma::mat &W)
 
Orthogonalize x and return the result in W, using eigendecomposition. void mlpack::math::Orthogonalize (arma::mat &x)
 
Orthogonalize x in-place. void mlpack::math::RandVector (arma::vec &v)
 
Overwrites a dimension-N vector to a random vector on the unit sphere in R^N. 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. void mlpack::math::VectorPower (arma::vec &vec, const double power)
 
Auxiliary function to raise vector elements to a specific power. void mlpack::math::WhitenUsingEig (const arma::mat &x, arma::mat &xWhitened, arma::mat &whiteningMatrix)
 
Whitens a matrix using the eigendecomposition of the covariance matrix. 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.

Detailed Description

Author:
Nishant Mehta
Linear algebra utilities.
This file is part of MLPACK 1.0.10.
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.

Author

Generated automatically by Doxygen for MLPACK from the source code.
Tue Sep 9 2014 Version 1.0.10