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