LAPACK Linear Equation Routines for non square matrix
Hi , I am trying to use LAPACKE function to compute system of linear equations.
I use 2 functions :
LAPACKE_sgetrf , LAPACKE_sgetrs
Input matrix A is MxN. According to your documentation first I call LAPACKE_sgetrf that support MxN matrix and then I should call LAPACKE_sgetrs. But in LAPACKE_sgetrs description there is only square matrix support.
Please explain if there solution for MxN matrix? If yes how to resolve?
Matrix _A is 110=rows 4=cols (x,y,z,w)
B is -1;
lapack_int info = LAPACKE_sgetrf(LAPACK_ROW_MAJOR, A_.rows, A_.cols, (float*)A_.data, A_.cols, &ipiv);