Skip to content
Prev 360295 / 398503 Next

Matrix: How create a _row-oriented_ sparse Matrix (=dgRMatrix)?

On Wed, Apr 20, 2016 at 1:25 AM, Martin Maechler
<maechler at stat.math.ethz.ch> wrote:
Thanks, understanding these design decisions is helpful.
Particularly, since I consider myself a rookie when it comes to the
Matrix package.
Thanks for pointing this out (and confirming as I since discovered the
virtual RsparseMatrix class in the help).
Perfect.
Yes, I actually went ahead did that, but since the code I'm writing
supports both plain matrix:es and sparse Matrix:es, and the underlying
model operates row-by-row, I figured the code would be more consistent
if I could use row-orientation everywhere.  Not a big deal.

Thanks Martin

Henrik