Closed jiapivialiu closed 1 year ago
- ad Johnson's dynamic programming paper yet, but seems like he torn the function into many pieces which might be easier to debug?
- Other than that it looks go
We should be fine with this dp algorithm here, since we are using the code here. But instead of c code, we write it in c++. So we don't need to worry about debugging this code.
This pull request contains a few updates.
For the previous errors:
arma
namespace in R is fixed (by revising .h files).Rcpp
,RcppArmadillo
,BH
under LinkingTo in DESCRIPTION).For more updates:
for
loop to save memory.Chromium
coding style with the header sorting turned off. The reason of not sorting the header files followingChromium
is the following. Take a file named as abc.cpp as an example.Chromium
puts the header file abc.h on the top of abc.cpp, but we need abc.h to stay after all other header files of abc.cpp.mu
is both exported and added to theadmm_solver
function.Please review the changes. Thank you!