Linear Combination C++ in modulus
问题 I want to compute an LU decomposition of a matrix and extract the linear combinations out of it. I first asked a question using the library Armadillo here but as pointed out by one comment, Armadillo is not able to deal with modulus computation. Thus I started to develop an LU using prime modulus from scratch, here is what I obtain but there is still a bug that I am not able to see. Here is the code that I have for now. (Do not think too much about the class Matrix, it is just a way to