6 #ifndef TAPKEE_RandomProjection_H_
7 #define TAPKEE_RandomProjection_H_
16 namespace tapkee_internal
21 DenseMatrix projection_matrix(target_dimension,current_dimension);
23 for (
IndexType i=0; i<target_dimension; ++i)
25 for (
IndexType j=0; j<current_dimension; ++j)
31 return projection_matrix;
Eigen::Matrix< tapkee::ScalarType, Eigen::Dynamic, Eigen::Dynamic > DenseMatrix
dense matrix type (non-overridable)
int IndexType
indexing type (non-overridable) set to int for compatibility with OpenMP 2.0
ScalarType gaussian_random()
DenseMatrix gaussian_projection_matrix(IndexType target_dimension, IndexType current_dimension)