Function sgels_

Computes the least squares solution to an over-determined system of linear equations, A X=B or A**H X=B, or the minimum norm solution of an under-determined system, where A is a general rectangular matrix of full rank, using a QR or LQ factorization of A.

extern(C) void sgels_ (
  char* trans,
  int* m,
  int* n,
  int* nrhs,
  float* a,
  int* lda,
  float* b,
  int* ldb,
  float* work,
  int* lwork,
  int* info,
  int trans_len
);