File: info.py

package info (click to toggle)
python-scipy 0.7.2%2Bdfsg1-1%2Bdeb6u1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 28,572 kB
  • ctags: 36,183
  • sloc: cpp: 216,880; fortran: 76,016; python: 71,833; ansic: 62,118; makefile: 243; sh: 17
file content (67 lines) | stat: -rw-r--r-- 2,837 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
"""
Linear algebra routines
=======================

Linear Algebra Basics::

   inv        --- Find the inverse of a square matrix
   solve      --- Solve a linear system of equations
   solve_banded --- Solve a linear system of equations with a banded matrix
   solveh_banded --- Solve a linear system of equations with a Hermitian or symmetric banded matrix, returning the Cholesky decomposition as well
   det        --- Find the determinant of a square matrix
   norm       --- matrix and vector norm
   lstsq      --- Solve linear least-squares problem
   pinv       --- Pseudo-inverse (Moore-Penrose) using lstsq
   pinv2      --- Pseudo-inverse using svd

Eigenvalues and Decompositions::

   eig        --- Find the eigenvalues and vectors of a square matrix
   eigvals    --- Find the eigenvalues of a square matrix
   eig_banded --- Find the eigenvalues and vectors of a band matrix
   eigvals_banded --- Find the eigenvalues of a band matrix
   lu         --- LU decomposition of a matrix
   lu_factor  --- LU decomposition returning unordered matrix and pivots
   lu_solve   --- solve Ax=b using back substitution with output of lu_factor
   svd        --- Singular value decomposition of a matrix
   svdvals    --- Singular values of a matrix
   diagsvd    --- construct matrix of singular values from output of svd
   orth       --- construct orthonormal basis for range of A using svd
   cholesky   --- Cholesky decomposition of a matrix
   cholesky_banded   --- Cholesky decomposition of a banded symmetric or Hermitian matrix
   cho_factor --- Cholesky decomposition for use in solving linear system
   cho_solve  --- Solve previously factored linear system
   qr         --- QR decomposition of a matrix
   schur      --- Schur decomposition of a matrix
   rsf2csf    --- Real to complex schur form
   hessenberg --- Hessenberg form of a matrix

matrix Functions::

   expm       --- matrix exponential using Pade approx.
   expm2      --- matrix exponential using Eigenvalue decomp.
   expm3      --- matrix exponential using Taylor-series expansion
   logm       --- matrix logarithm
   cosm       --- matrix cosine
   sinm       --- matrix sine
   tanm       --- matrix tangent
   coshm      --- matrix hyperbolic cosine
   sinhm      --- matrix hyperbolic sine
   tanhm      --- matrix hyperbolic tangent
   signm      --- matrix sign
   sqrtm      --- matrix square root
   funm       --- Evaluating an arbitrary matrix function.

Iterative linear systems solutions::

   cg         --- Conjugate gradient (symmetric systems only)
   cgs        --- Conjugate gradient squared
   qmr        --- Quasi-minimal residual
   gmres      --- Generalized minimal residual
   bicg       --- Bi-conjugate gradient
   bicgstab   --- Bi-conjugate gradient stabilized

"""

postpone_import = 1
depends = ['misc','lib.lapack']