motiwari / BanditPAM

BanditPAM C++ implementation and Python package
MIT License
647 stars 38 forks source link

Transitioning to a single code base for R/Python #209

Open bnaras opened 1 year ago

bnaras commented 1 year ago
  1. Use ifdefs to distinguish R and Python compiles. Use RcppArmadillo for R builds and plain armadillo for python builds.
  2. Give a compile time choice of floats versus doubles. This affects armadillo apis (fmat vs. mat) and also all functions that current return floats rather than doubles.