Function sgelsd_

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, using a divide and conquer method, where A is a general rectangular matrix of full rank, using a QR or LQ factorization of A.

extern(C) void sgelsd_ (
  int* m,
  int* n,
  int* nrhs,
  float* a,
  int* lda,
  float* b,
  int* ldb,
  float* s,
  float* rcond,
  int* rank,
  float* work,
  int* lwork,
  int* iwork,
  int* info
);