File: zsvdc.h

package info (click to toggle)
insighttoolkit 3.20.1%2Bgit20120521-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 80,672 kB
  • ctags: 85,253
  • sloc: cpp: 458,133; ansic: 196,222; fortran: 28,000; python: 3,839; tcl: 1,811; sh: 1,184; java: 583; makefile: 428; csh: 220; perl: 193; xml: 20
file content (12 lines) | stat: -rw-r--r-- 1,042 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
/*: Computes singular values and vectors of an mxn matrix (double_complex version) */
extern int v3p_netlib_zsvdc_(
  v3p_netlib_doublecomplex *x, v3p_netlib_integer v3p_netlib_const *ldx, /*!< (IN) matrix, m rows, n columns, stored row-wise */
  v3p_netlib_integer v3p_netlib_const *m, v3p_netlib_integer v3p_netlib_const *n,
  v3p_netlib_doublecomplex *singular_values, /*!< (OUT) in descending order of magnitude */
  v3p_netlib_doublecomplex *errors, /*!< (OUT) superdiagonal of u^T*x*v (normally 0) */
  v3p_netlib_doublecomplex *u, v3p_netlib_integer v3p_netlib_const *ldu, /*!< (OUT) left singular vectors */
  v3p_netlib_doublecomplex *v, v3p_netlib_integer v3p_netlib_const *ldv, /*!< (OUT) right singular vectors */
  v3p_netlib_doublecomplex *work, /*!< (IN/OUT) scratch work area of length m */
  v3p_netlib_integer v3p_netlib_const *job, /*!< (IN) 2-digit number. First digit refers to u; 0 = do not compute, 1 = all m; 2 = only min(m,n) */
  v3p_netlib_integer *info /*!< (OUT) singular values [info] and up are correct */
  );