random_basis.hpp
Go to the documentation of this file.
1 
12 #ifndef MLPACK_CORE_MATH_RANDOM_BASIS_HPP
13 #define MLPACK_CORE_MATH_RANDOM_BASIS_HPP
14 
15 #include <mlpack/prereqs.hpp>
16 
17 namespace mlpack {
18 namespace math {
19 
27 void RandomBasis(arma::mat& basis, const size_t d);
28 
29 } // namespace math
30 } // namespace mlpack
31 
32 #endif
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
void RandomBasis(arma::mat &basis, const size_t d)
Create a random d-dimensional orthogonal basis, storing it in the given matrix.