tarch::la::Vector< Rows, double > applyMatrixFromHWeightedLinearCombination(const std::vector< tarch::la::Matrix< Rows, Cols, double > > &matrices, const std::vector< int > &scaleFactors, const tarch::la::Vector< Dimensions, double > &h, const tarch::la::Vector< Cols, double > &v)
Apply a series of vectors to another vector.
tarch::la::Matrix< Rows, Cols, double > composeMatrixFromHWeightedLinearCombination(const std::vector< tarch::la::Matrix< Rows, Cols, double > > &matrices, const std::vector< int > &scaleFactors, const tarch::la::Vector< Dimensions, double > &h)
Compute a weighted linear combination of matrices.