#ifndef EM_UTILS_HPP #define EM_UTILS_HPP #include #include #include "Transcript.hpp" template void EMUpdate_(std::vector>& txpGroupLabels, std::vector>& txpGroupCombinedWeights, const std::vector& txpGroupCounts, const VecT& alphaIn, VecT& alphaOut); /** * set entries with values <= cutoff to 0. **/ template double truncateCountVector(VecT& alphas, double cutoff); #endif // EM_UTILS_HPP