armacmp
armacmp copied to clipboard
🚀 Automatically compile linear algebra R code to C++ with Armadillo
`mat %*% colvec = colvec` `rowvec %*% mat = rowvec` `mat %*% mat = mat` `T %*% = T` ` %*% T = T`
In general it is not desirable to change arguments in-place, but in some cases it is useful (when you now what you do). So mb it is possible to add...
I am wondering how can I define a matrix in the armacmp. matrix like that inside a function: ```r Pstar = matrix(0, nrow=P, ncol=A) ``` Thanks
@coatless what do think needs to be done / is left to do to put it on CRAN? * Better function documentation with examples * ...
http://arma.sourceforge.net/docs.html#submat
I saw the [`armacmp-examples`](https://github.com/dirkschumacher/armacmp-examples) repo spin up recently. How would you feel about using a [submodule](https://github.blog/2016-02-01-working-with-submodules/) or [subtree](https://help.github.com/en/articles/about-git-subtree-merges) to link it into the package's `inst/examples` directory?
With the new R6 AST we can indent properly simply by counting the number of parent scopes. But tabs or spaces? 🤔