rotations.h File Reference

Go to the source code of this file.

Namespaces

 shark
 AbstractMultiObjectiveOptimizer.
 
 shark::blas
 

Functions

template<class X , class R >
X::value_type shark::blas::createHouseholderReflection (vector_expression< X, cpu_tag > const &x, vector_expression< R, cpu_tag > &reflection)
 Generates a Householder reflection from a vector to use with applyHouseholderLeft/Right. More...
 
template<class Mat , class R , class T , class Device >
void shark::blas::applyHouseholderOnTheRight (matrix_expression< Mat, Device > &matrix, vector_expression< R, Device > const &reflection, T beta)
 
template<class Mat , class R , class T , class Device >
void shark::blas::applyHouseholderOnTheLeft (matrix_expression< Mat, Device > &matrix, vector_expression< R, Device > const &reflection, T const &beta)
 rotates a matrix using a householder reflection More...
 
template<class Mat , class R , class T , class Device >
void shark::blas::applyHouseholderOnTheLeft (temporary_proxy< Mat > matrix, vector_expression< R, Device > const &reflection, T const &beta)
 rotates a matrix using a householder reflection More...
 
template<class MatrixT >
void shark::blas::randomRotationMatrix (random::rng_type &rng, matrix_container< MatrixT, cpu_tag > &matrixC)
 Initializes a matrix such that it forms a random rotation matrix. More...
 
RealMatrix shark::blas::randomRotationMatrix (random::rng_type &rng, size_t size)
 Creates a random rotation matrix with a certain size using the random number generator rng. More...