qr_solve.h 1.1 KB

12345678910111213141516171819202122
  1. #include "Configuration.h"
  2. #ifdef AUTO_BED_LEVELING_GRID
  3. void daxpy ( int n, double da, double dx[], int incx, double dy[], int incy );
  4. double ddot ( int n, double dx[], int incx, double dy[], int incy );
  5. double dnrm2 ( int n, double x[], int incx );
  6. void dqrank ( double a[], int lda, int m, int n, double tol, int *kr,
  7. int jpvt[], double qraux[] );
  8. void dqrdc ( double a[], int lda, int n, int p, double qraux[], int jpvt[],
  9. double work[], int job );
  10. int dqrls ( double a[], int lda, int m, int n, double tol, int *kr, double b[],
  11. double x[], double rsd[], int jpvt[], double qraux[], int itask );
  12. void dqrlss ( double a[], int lda, int m, int n, int kr, double b[], double x[],
  13. double rsd[], int jpvt[], double qraux[] );
  14. int dqrsl ( double a[], int lda, int n, int k, double qraux[], double y[],
  15. double qy[], double qty[], double b[], double rsd[], double ab[], int job );
  16. void dscal ( int n, double sa, double x[], int incx );
  17. void dswap ( int n, double x[], int incx, double y[], int incy );
  18. double *qr_solve ( int m, int n, double a[], double b[] );
  19. #endif