I'm using LAPACK from C and I'm faced with the typical problem of accessing a MxN matrix A, which in FORTRAN is stored in column-major order as dgetrf expects.
In calling dgetrf from C, because my matrix A is stored in row-major order, it computes the LU factorization of A^t (the transpose matrix). Is there another function callable from C which computes the LU factorization of A stored in row-major order? I would be very grateful for any clue in this direction. Many thanks for your consideration

