File: dqrsl.h

package info (click to toggle)
insighttoolkit 3.18.0-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 110,432 kB
  • ctags: 74,559
  • sloc: cpp: 412,627; ansic: 196,210; fortran: 28,000; python: 3,852; tcl: 2,005; sh: 1,186; java: 583; makefile: 458; csh: 220; perl: 193; xml: 20
file content (14 lines) | stat: -rw-r--r-- 1,158 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*: Computes coord transf etc from QR factorisation of double matrix */
extern int v3p_netlib_dqrsl_(
  v3p_netlib_doublereal v3p_netlib_const *x, v3p_netlib_integer v3p_netlib_const *ldx, /*!< (IN) output of dqrdc_, n x k matrix */
  v3p_netlib_integer v3p_netlib_const *n, v3p_netlib_integer v3p_netlib_const *k, /*!< (IN) k <= min(n,p) with n,p from dqrdc_ */
  v3p_netlib_doublereal v3p_netlib_const *qraux, /*!< (IN) qraux output of dqrdc_ */
  v3p_netlib_doublereal v3p_netlib_const *y, /*!< (IN) n-vector to operate on */
  v3p_netlib_doublereal *qy,  /*!< (OUT) q*y */
  v3p_netlib_doublereal *qty, /*!< (OUT) q^T*y (conjugate transpose if complex) */
  v3p_netlib_doublereal *b,   /*!< (OUT) solution b of min norm_2(y - x*b) */
  v3p_netlib_doublereal *rsd, /*!< (OUT) least squares residual y - x*b = proj of y on orth complement of columns(x) */
  v3p_netlib_doublereal *xb,  /*!< (OUT) least squares approx of x*b = proj of y on columns(x) */
  v3p_netlib_integer v3p_netlib_const *job, /*!< (IN) decimal acbde: a:compute qy; c:qty; b:qty+b; d:qty+rsd; e:qty+xb */
  v3p_netlib_integer *info /*!< non-zero if r is singular and b is set. */
  );