jtilly / matchingR

Algorithms for Matching Markets in R and C++
https://cran.r-project.org/package=matchingR
50 stars 18 forks source link

Changed layout of preferences matrices from row-major to column-major #4

Closed jtilly closed 9 years ago

jtilly commented 9 years ago

R is row major, C++ (Armadillo) is column major. Things go a lot faster when we do all operations on matrices that store information in matrices that are in column major format. Updated the code, vignettes, readme, and documentation.