mlpack 3.4.2
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
17namespace mlpack {
18namespace math {
19
27void RandomBasis(arma::mat& basis, const size_t d);
28
29} // namespace math
30} // namespace mlpack
31
32#endif
void RandomBasis(arma::mat &basis, const size_t d)
Create a random d-dimensional orthogonal basis, storing it in the given matrix.
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.