Closed rbchan closed 12 years ago
tranProbs should be transformed and matrix mult should be used instead of colSums(...)
C++ code for tranProbs might be faster with += than with Rcpp::sum.
perhaps g.star should be a vector, overwritten in each loop, rather than a matrix that needs to be indexed.
tranProbs should be transformed and matrix mult should be used instead of colSums(...)
C++ code for tranProbs might be faster with += than with Rcpp::sum.
perhaps g.star should be a vector, overwritten in each loop, rather than a matrix that needs to be indexed.