This function solves a system of linear equation with general matrix along with multiple right-hand side vector.
\[Ax=B\]
where \(A\) is a dense general matrix of size \(m \times m\), \(x\) is a vector need to be computed, and \(B\) is input vector. The maximum matrix size supported in FPGA is templated by NMAX.