Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/linalg/__init__.py @ 87:2a2c65a20a8b
Add Python libs and headers
author | Chris Cannam |
---|---|
date | Wed, 25 Feb 2015 14:05:22 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
86:413a9d26189e | 87:2a2c65a20a8b |
---|---|
1 """ | |
2 Core Linear Algebra Tools | |
3 ========================= | |
4 | |
5 =============== ========================================================== | |
6 Linear algebra basics | |
7 ========================================================================== | |
8 norm Vector or matrix norm | |
9 inv Inverse of a square matrix | |
10 solve Solve a linear system of equations | |
11 det Determinant of a square matrix | |
12 slogdet Logarithm of the determinant of a square matrix | |
13 lstsq Solve linear least-squares problem | |
14 pinv Pseudo-inverse (Moore-Penrose) calculated using a singular | |
15 value decomposition | |
16 matrix_power Integer power of a square matrix | |
17 matrix_rank Calculate matrix rank using an SVD-based method | |
18 =============== ========================================================== | |
19 | |
20 =============== ========================================================== | |
21 Eigenvalues and decompositions | |
22 ========================================================================== | |
23 eig Eigenvalues and vectors of a square matrix | |
24 eigh Eigenvalues and eigenvectors of a Hermitian matrix | |
25 eigvals Eigenvalues of a square matrix | |
26 eigvalsh Eigenvalues of a Hermitian matrix | |
27 qr QR decomposition of a matrix | |
28 svd Singular value decomposition of a matrix | |
29 cholesky Cholesky decomposition of a matrix | |
30 =============== ========================================================== | |
31 | |
32 =============== ========================================================== | |
33 Tensor operations | |
34 ========================================================================== | |
35 tensorsolve Solve a linear tensor equation | |
36 tensorinv Calculate an inverse of a tensor | |
37 =============== ========================================================== | |
38 | |
39 =============== ========================================================== | |
40 Exceptions | |
41 ========================================================================== | |
42 LinAlgError Indicates a failed linear algebra operation | |
43 =============== ========================================================== | |
44 | |
45 """ | |
46 from __future__ import division, absolute_import, print_function | |
47 | |
48 # To get sub-modules | |
49 from .info import __doc__ | |
50 | |
51 from .linalg import * | |
52 | |
53 from numpy.testing import Tester | |
54 test = Tester().test | |
55 bench = Tester().test |