Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
qr_solve.h
Go to the documentation of this file.
1 /*
2  * This is part of the qr_solve library from John Burkardt.
3  * http://people.sc.fsu.edu/~jburkardt/c_src/qr_solve/qr_solve.html
4  *
5  * It is slightly modified to make it compile on simple microprocessors,
6  * and to remove all dynamic memory.
7  *
8  * This code is distributed under the GNU LGPL license.
9  */
10 
11 void daxpy ( int n, float da, float dx[], int incx, float dy[], int incy );
12 float ddot ( int n, float dx[], int incx, float dy[], int incy );
13 float dnrm2 ( int n, float x[], int incx );
14 void dqrank ( float a[], int lda, int m, int n, float tol, int *kr,
15  int jpvt[], float qraux[] );
16 void dqrdc ( float a[], int lda, int n, int p, float qraux[], int jpvt[],
17  float work[], int job );
18 int dqrls ( float a[], int lda, int m, int n, float tol, int *kr, float b[],
19  float x[], float rsd[], int jpvt[], float qraux[], int itask );
20 void dqrlss ( float a[], int lda, int m, int n, int kr, float b[], float x[],
21  float rsd[], int jpvt[], float qraux[] );
22 int dqrsl ( float a[], int lda, int n, int k, float qraux[], float y[],
23  float qy[], float qty[], float b[], float rsd[], float ab[], int job );
24 void drotg ( float *sa, float *sb, float *c, float *s );
25 void dscal ( int n, float sa, float x[], int incx );
26 void dswap ( int n, float x[], int incx, float y[], int incy );
27 void qr_solve ( int m, int n, float a[], float b[], float x[] );
void dswap(int n, float x[], int incx, float y[], int incy)
Definition: qr_solve.c:1433
void dqrlss(float a[], int lda, int m, int n, int kr, float b[], float x[], float rsd[], int jpvt[], float qraux[])
Definition: qr_solve.c:867
void dqrdc(float a[], int lda, int n, int p, float qraux[], int jpvt[], float work[], int job)
Definition: qr_solve.c:465
int dqrsl(float a[], int lda, int n, int k, float qraux[], float y[], float qy[], float qty[], float b[], float rsd[], float ab[], int job)
Definition: qr_solve.c:985
void dscal(int n, float sa, float x[], int incx)
Definition: qr_solve.c:1344
void dqrank(float a[], int lda, int m, int n, float tol, int *kr, int jpvt[], float qraux[])
Definition: qr_solve.c:357
int dqrls(float a[], int lda, int m, int n, float tol, int *kr, float b[], float x[], float rsd[], int jpvt[], float qraux[], int itask)
Definition: qr_solve.c:714
void drotg(float *sa, float *sb, float *c, float *s)
float dnrm2(int n, float x[], int incx)
Definition: qr_solve.c:264
void daxpy(int n, float da, float dx[], int incx, float dy[], int incy)
Definition: qr_solve.c:23
void qr_solve(int m, int n, float a[], float b[], float x[])
Definition: qr_solve.c:1548
static float p[2][2]
float ddot(int n, float dx[], int incx, float dy[], int incy)
Definition: qr_solve.c:144