Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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[] );
c
VIC slots used for the LPC2148 define name e g gps UART1_VIC_SLOT e g modem SPI1_VIC_SLOT SPI1 in mcu_periph spi_arch c or spi_slave_hs_arch c(and some others not using the SPI peripheral yet..) I2C0_VIC_SLOT 8 mcu_periph/i2c_arch.c I2C1_VIC_SLOT 9 mcu_periph/i2c_arch.c USB_VIC_SLOT 10 usb
dqrdc
void dqrdc(float a[], int lda, int n, int p, float qraux[], int jpvt[], float work[], int job)
Definition: qr_solve.c:465
dqrlss
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
b
float b
Definition: wedgebug.c:202
s
static uint32_t s
Definition: light_scheduler.c:33
dswap
void dswap(int n, float x[], int incx, float y[], int incy)
Definition: qr_solve.c:1433
drotg
void drotg(float *sa, float *sb, float *c, float *s)
daxpy
void daxpy(int n, float da, float dx[], int incx, float dy[], int incy)
Definition: qr_solve.c:23
dscal
void dscal(int n, float sa, float x[], int incx)
Definition: qr_solve.c:1344
ddot
float ddot(int n, float dx[], int incx, float dy[], int incy)
Definition: qr_solve.c:144
dnrm2
float dnrm2(int n, float x[], int incx)
Definition: qr_solve.c:264
dqrank
void dqrank(float a[], int lda, int m, int n, float tol, int *kr, int jpvt[], float qraux[])
Definition: qr_solve.c:357
dqrsl
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
dqrls
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
qr_solve
void qr_solve(int m, int n, float a[], float b[], float x[])
Definition: qr_solve.c:1548
p
static float p[2][2]
Definition: ins_alt_float.c:268