Sokol Serguei
2017-07-29 08:47:14 UTC
Dirk Eddelbuettel has written at Fri, 28 Jul 2017 17:28:11 -0500
Serguei.
| > Don't think so, but I have thought about it too, and I was planning to bring
| > this up. I also find the 'always forced to be dimension one matrix' to be a
| > (very early) design decision I would not make again. And I have been
| > thinking along similar lines---we need an option to restore it / keep it as
| > the defaults, and a newer alternative to let this collapse to a dimless
| > vector. What you rprose could work (maybe by prefixing RCPP_ARMADILLO_ to
| > the #define though).
| RCPP_ARMADILLO_RETURN_COLVEC_AS_VECTOR
| RCPP_ARMADILLO_RETURN_ROWVEC_AS_VECTOR
| RCPP_ARMADILLO_RETURN_ANYVEC_AS_VECTOR
Thumbs up!
Do you want to sketch a pull request, or shall we take this offline?
A pull request #151 is awaiting your exam.| > this up. I also find the 'always forced to be dimension one matrix' to be a
| > (very early) design decision I would not make again. And I have been
| > thinking along similar lines---we need an option to restore it / keep it as
| > the defaults, and a newer alternative to let this collapse to a dimless
| > vector. What you rprose could work (maybe by prefixing RCPP_ARMADILLO_ to
| > the #define though).
| RCPP_ARMADILLO_RETURN_COLVEC_AS_VECTOR
| RCPP_ARMADILLO_RETURN_ROWVEC_AS_VECTOR
| RCPP_ARMADILLO_RETURN_ANYVEC_AS_VECTOR
Thumbs up!
Do you want to sketch a pull request, or shall we take this offline?
Serguei.