mlpack
2.0.1
src
mlpack
core
math
random_basis.hpp
Go to the documentation of this file.
1
14
#ifndef __MLPACK_CORE_MATH_RANDOM_BASIS_HPP
15
#define __MLPACK_CORE_MATH_RANDOM_BASIS_HPP
16
17
#include <
mlpack/prereqs.hpp
>
18
19
namespace
mlpack
{
20
namespace
math {
21
29
void
RandomBasis
(arma::mat& basis,
const
size_t
d);
30
31
}
// namespace math
32
}
// namespace mlpack
33
34
#endif
mlpack
Linear algebra utility functions, generally performed on matrices or vectors.
Definition:
dataset_info.hpp:23
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.
Generated by
1.8.13