38typedef Eigen::Matrix<double, VALID_OBJECT_TYPE, 1>
Vectord;
39typedef Eigen::Matrix<int, VALID_OBJECT_TYPE, 1>
Vectori;
40typedef Eigen::Matrix<double, VALID_OBJECT_TYPE, VALID_OBJECT_TYPE>
Matrixd;
124 const std::string& filename,
std::map< T, EigenType, std::less< T >, Eigen::aligned_allocator< std::pair< const T, EigenType > > > EigenMap
void ToExpStable(Vectord *prob)
Compute stable exponential of Vectord
bool LoadSingleMatrixFile(const std::string &filename, Matrixd *matrix)
Load single matrix from file
void ToExp(Vectord *prob)
Compute exponential of Vectord
bool LoadMultipleMatricesFile(const std::string &filename, EigenMap< std::string, Matrixd > *matrices)
void Normalize(Vectord *prob)
Compute normalize of Vectord
bool LoadSingleMatrix(std::ifstream &fin, Matrixd *matrix)
Load single matrix
void ToLog(Vectord *prob)
Compute log of Vectord
void NormalizeRow(Matrixd *prob)
Compute normalize row of Matrixd
void FromEigenToVector(const Vectord &src_prob, std::vector< float > *dst_prob)
Transfrom Eigen to vector
void FromStdToVector(const std::vector< float > &src_prob, Vectord *dst_prob)
From std to vector
Eigen::Matrix< double, VALID_OBJECT_TYPE, VALID_OBJECT_TYPE > Matrixd
Eigen::Matrix< int, VALID_OBJECT_TYPE, 1 > Vectori
Eigen::Matrix< double, VALID_OBJECT_TYPE, 1 > Vectord