MLPACK
1.0.4
|
00001 00022 #ifndef __MLPACK_CORE_MATH_LIN_ALG_HPP 00023 #define __MLPACK_CORE_MATH_LIN_ALG_HPP 00024 00025 #include <mlpack/core.hpp> 00026 00030 namespace mlpack { 00031 namespace math { 00032 00038 void VectorPower(arma::vec& vec, double power); 00039 00047 void Center(const arma::mat& x, arma::mat& xCentered); 00048 00054 void WhitenUsingSVD(const arma::mat& x, 00055 arma::mat& xWhitened, 00056 arma::mat& whiteningMatrix); 00057 00062 void WhitenUsingEig(const arma::mat& x, 00063 arma::mat& xWhitened, 00064 arma::mat& whiteningMatrix); 00065 00069 void RandVector(arma::vec& v); 00070 00075 void Orthogonalize(const arma::mat& x, arma::mat& W); 00076 00081 void Orthogonalize(arma::mat& x); 00082 00090 void RemoveRows(const arma::mat& input, 00091 const std::vector<size_t>& rowsToRemove, 00092 arma::mat& output); 00093 00094 }; // namespace math 00095 }; // namespace mlpack 00096 00097 #endif // __MLPACK_CORE_MATH_LIN_ALG_HPP