BBohua ZhanRename doc file.
49de77c4创建于 2022年9月19日历史提交

Linear algebra

The linear algebra part of the library contains definition of tensors (:math:n-dimensional arrays), as well as functions for working with matrices.

.. toctree:: :maxdepth: 1 :caption: Contents:

tensor arraycreation arrayoperation basiclinalg eigenvalue decompositions matfuncs specmat benchmarks

Coverage

The following tables show coverage with respect to numpy and scipy.linalg library.

Total: 89/117

NumPy array creation (15/15)


====================== =============================== Python Function Link ====================== =============================== empty :ref:empty <empty> zeros :ref:zeros <zeros> full :ref:vector <vector>, :ref:matrix <matrix>, :ref:tensor <tensor> array :ref:vector <vector>, :ref:matrix <matrix>, :ref:tensor <tensor> eye :ref:eye <eye> diag :ref:diag <diag> arange :ref:arange <arange> linspace :ref:linspace <linspace> logspace :ref:logspace <logspace> geomspace :ref:geomspace <geomspace> meshgrid :ref:meshgrid <meshgrid> tri :ref:tri <tri> tril :ref:tril <tril> triu :ref:triu <triu> vander :ref:vander <vander> ====================== ===============================

NumPy array manipulation (9/15)


====================== =============================== Python Function Link ====================== =============================== shape :ref:shape <shape> dtype :ref:dtype <dtype> size :ref:size <size> reshape :ref:reshape <reshape> flatten :ref:flatten <flatten> transpose :ref:transpose <transpose> concatenate :ref:concat <concat> stack vstack :ref:vstack <vstack> hstack :ref:hstack <hstack> dstack split dsplit hsplit vsplit ====================== ===============================

SciPy Basics (15/21)


====================== =============================== Python Function Link ====================== =============================== inv :ref:inv <inv> solve :ref:solve <solve> solve_banded :ref:solveBanded <solveBanded> solveh_banded :ref:solveHBanded <solveHBanded> solve_circulant solve_triangular :ref:solveTriangular <solveTriangular> solve_toeplitz matmul_toeplitz det :ref:det <det> norm :ref:norm <norm> lstsq :ref:lstsq <lstsq> pinv :ref:pinv <pinv> pinv2 deprecated pinvh kron :ref:kron <kron> khatri_rao orthogonal_procrustes :ref:orthogonalProcrustes <orthogonalProcrustes> matrix_balance subspace_angles :ref:subspaceAngles <subspaceAngles> bandwidth :ref:bandwidth <bandwidth> issymmetric :ref:issymmetric <issymmetric> ishermitian :ref:ishermitian <ishermitian> ====================== ===============================

Eigenvalue Problems (8/8)


====================== =============================== Python Function Link ====================== =============================== eig :ref:eig <eig> eigvals :ref:eigvals <eigvals> eigh :ref:eigh <eigh> eigvalsh :ref:eigvalsh <eigvalsh> eig_banded :ref:eigBanded <eigBanded> eigvals_banded :ref:eigvalsBanded <eigvalsBanded> eigh_tridiagonal :ref:eighTridiagonal <eighTridiagonal> eigvalsh_tridiagonal :ref:eigvalshTridiagonal <eigvalshTridiagonal> ====================== ===============================

Decompositions (19/28)


====================== =============================== Python Function Link ====================== =============================== lu :ref:lu <lu> lu_factor :ref:luFactor <luFactor> lu_solve :ref:luSolve <luSolve> svd :ref:svd <svd> svdvals :ref:svdvals <svdvals> diagsvd :ref:diagsvd <diagsvd> orth :ref:orth <orth> null_space :ref:nullSpace <nullSpace> ldl cholesky :ref:cholesky <cholesky> cholesky_banded :ref:choleskyBanded <choleskyBanded> cho_factor :ref:choFactor <choFactor> cho_solve :ref:choSolve <choSolve> choSolve_banded :ref:choSolveBanded <choSolveBanded> polar :ref:polar <polar> qr :ref:qr <qr> qr_multiply :ref:qrMultiply <qrMultiply> qr_update qr_delete :ref:qrDelete <qrDelete> qr_insert rq :ref:rq <rq> qz ordqz schur :ref:schur <schur> rsf2csf hessenberg cdf2rdf cossin ====================== ===============================

Matrix Functions (10/14)


========================== =============================== Python Function Link ========================== =============================== expm :ref:expm <expm> logm :ref:logm <logm> cosm :ref:cosm <cosm> sinm :ref:sinm <sinm> tanm :ref:tanm <tanm> coshm :ref:coshm <coshm> sinhm :ref:sinhm <sinhm> tanhm :ref:tanhm <tanhm> signm :ref:signm <signm> sqrtm :ref:sqrtm <sqrtm> funm expm_frechet expm_cond fractional_matrix_power ========================== ===============================

Special Matrices (13/16)


========================== =============================== Python Function Link ========================== =============================== block_diag :ref:blockDiag <blockDiag> circulant :ref:circulant <circulant> companion :ref:companion <companion> convolutionMatrix :ref:convolutionMatrix <convolutionMatrix> dft :ref:dft <dft> fiedler :ref:fiedler <fiedler> fiedler_companion hadamard :ref:hadamard <hadamard> hankel :ref:hankel <hankel> helmert :ref:helmert <helmert> hilbert :ref:hilbert <hilbert> invhilbert leslie :ref:leslie <leslie> pascal :ref:pascal <pascal> invpascal toeplitz :ref:toeplitz <toeplitz> ========================== ===============================