Contributor
Binxiang Ni

Sparse matrix automatic conversion in RcppArmadillo


Mentors
Dirk Eddelbuettel, Qiang Kou
Organization
R project for statistical computing

This project is aimed to complete the integration between R Matrix package and Armadillo Package. During this project, I am going to do such things:

  • Read the documentation and source codes of RcppArmadillo and Armadillo libraries and familiarize myself with the mechanism of the two libraries.
  • Write codes to evaluate which types of sparse matrices can be convertible or not.
  • Convert the sparse matrices into dgCMatrix if they can be. Otherwise, provide warning messages when they are passed from R to cpp.
  • For sparse symmetric matrix, I will use the new feature symmatu() for sparse matrix in Armadiilo library to fix the problem of incomplete non-zero values.
  • Complete relevant documentations of sparse matrix conversion.