My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

qr_solve.h 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #include "MarlinConfig.h"
  23. #if ENABLED(AUTO_BED_LEVELING_GRID)
  24. void daxpy(int n, double da, double dx[], int incx, double dy[], int incy);
  25. double ddot(int n, double dx[], int incx, double dy[], int incy);
  26. double dnrm2(int n, double x[], int incx);
  27. void dqrank(double a[], int lda, int m, int n, double tol, int* kr,
  28. int jpvt[], double qraux[]);
  29. void dqrdc(double a[], int lda, int n, int p, double qraux[], int jpvt[],
  30. double work[], int job);
  31. int dqrls(double a[], int lda, int m, int n, double tol, int* kr, double b[],
  32. double x[], double rsd[], int jpvt[], double qraux[], int itask);
  33. void dqrlss(double a[], int lda, int m, int n, int kr, double b[], double x[],
  34. double rsd[], int jpvt[], double qraux[]);
  35. int dqrsl(double a[], int lda, int n, int k, double qraux[], double y[],
  36. double qy[], double qty[], double b[], double rsd[], double ab[], int job);
  37. void dscal(int n, double sa, double x[], int incx);
  38. void dswap(int n, double x[], int incx, double y[], int incy);
  39. void qr_solve(double x[], int m, int n, double a[], double b[]);
  40. #endif