Home
Get Started
Documentation
Community
Google Summer of Code
FAQ
GitHub
Home
Get Started
Documentation
Community
Google Summer of Code
FAQ
GitHub
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
mlpack
Linear algebra utility functions, generally performed on matrices or vectors.
Definition:
add_to_cli11.hpp:21
prereqs.hpp
The core includes that mlpack expects; standard C++ includes and Armadillo.
mlpack::math::RandomBasis
void RandomBasis(arma::mat &basis, const size_t d)
Create a random d-dimensional orthogonal basis, storing it in the given matrix.