Nasser M. Abbasi
| # | lapack | description | Matlab | Mathematica | Ada |
| 1 | SGESV |
Solves a general system of linear equations |
A\b
f=factorize(A)
S=inverse(A)
pinv(A)* b |
LinearSolve[A,B]
|
x:=solve(A,b) |
| 2 | SGBSV |
Solves a general banded system of linear equations |
A\b
|
LinearSolve[A,B] |
x:=solve(A,b) |
| 3 | SGTSV |
Solves a general tridiagonal system of linear equations |
A\b
|
LinearSolve[A,B] |
x:=solve(A,b) |
| 4 | SPOSV |
Solves a symmetric positive definite system
of linear |
A\b
|
LinearSolve[A,B] |
x:=solve(A,b) |
| 5 | SPPSV |
Solves a symmetric positive definite system of linear equations |
A\b
|
LinearSolve[A,B] |
x:=solve(A,b) |
| 6 | SPBSV |
Solves a symmetric positive definite banded system |
see above. Or
|
see above. Or
|
x:=solve(A,b) |
| 7 | SPTSV |
Solves a symmetric positive definite tridiagonal system |
A\b
|
LinearSolve[A,B] |
x:=solve(A,b) |
| 8 | SSYSV |
Solves a real symmetric indefinite system of linear equations |
A\b
|
LinearSolve[A,B] |
x:=solve(A,b) |
| 9 | SSPSV |
Solves a real symmetric indefinite system of linear equations |
A\b
|
LinearSolve[A,B] |
x:=solve(A,b) |
| 10 | SGELS |
Computes the least squares solution to an overdetermined system of
linear equations, |
for overdetermined:
for underdetermined:
or lsqlin(A,b) |
for overdetermined:
for underdetermined:
PseudoInverse[A].b
or LeastSquares[A,b] |
x:=solve(A,b) |
| 11 | SGELSD |
Computes the least squares solution to an
overdetermined system of linear equations,
|
Can also use
[u,s,v]=svd(A)
|
x=LinearSolve[A,b]
u,w,v=SingularValueDecomposition[A]
|
No SVD. Can use x:=solve(A,b) |
| 12 | SGGLSE |
Solves the LSE (Constrained Linear Least Squares Problem) using the Generalized RQ factorization |
lsqlin() |
FindMinimum[] |
Missing? |
| 13 | SGGGLM |
Solves the GLM (Generalized Linear Regression Model) using the GQR (Generalized QR) factorization |
glmfit()
|
see GeneralizedLinearModelFit[]
|
Missing? |
| 14 | SSYEV |
Computes all eigenvalues and optionally, eigenvectors of a real symmetric matrix |
eig() or eigs() |
Eigensystem[]
|
eigenvalues()
|
| 15 | SSYEVD |
Computes all eigenvalues and optionally, eigenvectors of a real symmetric matrix If eigenvectors are desired, it uses a divide and conquer algorithm |
eig() or eigs() |
Eigensystem[]
|
eigenvalues()
|
| 16 | SSPEV |
Computes all eigenvalues and optionally, eigenvectors of a real symmetric matrix in packed storage |
eig() or eigs() |
Eigensystem[]
|
eigenvalues()
|
| 17 | SSPEVD |
Computes all eigenvalues and optionally, eigenvectors of a real symmetric matrix in packed storage. If eigenvectors are desired, it uses a divide and conquer algorithm |
eig() or eigs() |
Eigensystem[]
|
eigenvalues()
|
| 18 | SSBEV |
Computes all eigenvalues and optionally, eigenvectors of a real symmetric band matrix |
eig() or eigs() |
Eigensystem[]
|
eigenvalues()
|
| 19 | SSBEVD |
Computes all eigenvalues and optionally, eigenvectors of a real symmetric band matrix. If eigenvectors are desired, it uses a divide and conquer algorithm |
eig() or eigs() |
Eigensystem[]
|
eigenvalues()
|
| 20 | SSTEV |
Computes all eigenvalues and optionally, eigenvectors of a real symmetric tridiagonal matrix |
eig() or eigs() |
Eigensystem[]
|
eigenvalues()
|
| 21 | SSTEVD |
Computes all eigenvalues and optionally, eigenvectors of a real symmetric tridiagonal matrix. If eigenvectors are desired, it uses a divide and conquer algorithm |
eig() or eigs() |
Eigensystem[]
|
eigenvalues()
|
| 22 | SGEES |
Computes all eigenvalues and Schur factorization of a general matrix and orders the factorization so that selected eigenvalues are at the top left of the Schur form |
schur() |
SchurDecomposition[] |
missing? |
| 23 | SGEEV |
Computes the eigenvalues and left and right eigenvectors of a general matrix |
For right eigenvectors use
[V,D] = eig(A)
|
For right eigenvectors use
D,V=Eigensystem[A]
For left eigenvectors of A
D,W=Eigensystem[Transpose[A]]
|
For right eigenvectors use eigensystem(A,values,vectors) and for left eigenvectors, use transpose() on A and call eigensystem() again then call conjugate(). See annex G for the exact calls. |
| 24 | SGESVD |
Computes the singular value decomposition (SVD) a general matrix | svd() |
SingularValueDecomposition[] |
missing? |
| 25 | SGESDD |
Computes the singular value decomposition (SVD) a general matrix using divide-and-conquer |
svd() |
SingularValueDecomposition[] |
missing? |
| 26 | SSYGV |
Computes all eigenvalues and the eigenvectors of a generalized symmetric-definite generalized eigenproblem |
[V,D]=eig(A,B,'chol') |
D,V=Eigensystem[A,B]
|
missing? |
| 27 | SSYGVD |
Computes all eigenvalues
and the eigenvectors of a
generalized symmetric-definite
generalized eigenproblem
|
[V,D]=eig(A,B,'chol') |
D,V=Eigensystem[A,B]
|
missing? |
| 28 | SSPGV |
Computes all eigenvalues
and the eigenvectors of a
generalized symmetric-definite
generalized eigenproblem
|
[V,D]=eig(A,B,'chol') |
D,V=Eigensystem[A,B]
|
missing? |
| 29 | SSPGVD |
Computes all eigenvalues
and the eigenvectors of a
generalized symmetric-definite
generalized eigenproblem
|
[V,D]=eig(A,B,'chol') |
D,V=Eigensystem[A,B]
|
missing? |
| 30 | SSBGV |
Computes all the eigenvalues,
and optionally, the eigenvectors
of a real generalized symmetric
of the form the form
|
[V,D]=eig(A,B,'chol') |
D,V=Eigensystem[A,B]
|
missing? |
| 31 | SSBGVD |
Computes all eigenvalues and
optionally, the eigenvectors
of a real generalized symmetric
definite banded eigenproblem
of the form
|
[V,D]=eig(A,B,'chol') |
D,V=Eigensystem[A,B]
|
missing? |
| 32 | SGGES |
Computes the generalized eigenvalues, Schur form, and left and/or right Schur vectors for a pair of nonsymmetric matrices |
schur() |
SchurDecomposition[] |
missing? |
| 33 | SGGEV |
Computes the generalized eigenvalues, and left and/or right generalized eigenvectors for a pair of nonsymmetric matrices |
[V,D]=eig(A,B,'qz') |
D,V=Eigensystem[A,B]
|
missing? |
| 34 | SGGSVD |
Computes the Generalized Singular Value Decomposition |
gsvd() |
SingularValueList[] | missing? |
| 35 | SGESVX |
Solve a general system of linear equations,
|
A\b
|
LinearSolve[A,b]
|
Use transpose or conjuagte on A first, then call solve(). But missing condition number function. |
| 36 | SGBSVX |
Solves a general banded system of linear equations
|
A\b
|
LinearSolve[A,b]
|
Use transpose or conjuagte on A first, then call solve(). But missing condition number function. |
| 37 | SGTSVX |
Solves a general tridiagonal system of linear equations
|
A\b
|
LinearSolve[A,b]
|
Use transpose or conjuagte on A first, then call solve(). But missing condition number function. |
| 38 | SPOSVX |
Solves a symmetric positive definite system of linear equations
|
A\b
|
LinearSolve[A,b]
|
x:solve(A,b). But missing condition number function. |
| 39 | SPPSVX |
Solves a symmetric positive definite system of linear equations |
A\b
|
LinearSolve[A,b]
|
x:solve(A,b). But missing condition number function. |
| 40 | SPBSVX |
Solves a symmetric positive definite banded system of linear equations
|
A\b
|
LinearSolve[A,b]
|
x:solve(A,b). But missing condition number function. |
| 41 | SPTSVX |
Solves a symmetric positive definite tridiagonal
system of linear equations |
A\b
|
LinearSolve[A,b]
|
x:solve(A,b). But missing condition number function. |
| 42 | SSYSVX |
Solves a real symmetric indefinite system of
linear equations |
A\b
|
LinearSolve[A,b]
|
x:solve(A,b). But missing condition number function. |
| 43 | SSPSVX |
Solves a real symmetric
indefinite system of linear equations
|
A\b
|
LinearSolve[A,b]
|
x:solve(A,b). But missing condition number function. |
| 44 | SGELSY |
Computes the minimum norm least squares solution to an
over-or under-determined system of linear equations
|
for overdetermined:
for underdetermined:
or lsqlin(A,b) |
for overdetermined:
for underdetermined:
PseudoInverse[A].b
or LeastSquares[A,b] |
x:=solve(A,b) |
| 45 | SGELSS |
Computes the minimum norm least squares solution to an over-
or under-determined system of linear equations |
for overdetermined:
for underdetermined:
or lsqlin(A,b) |
for overdetermined:
for underdetermined:
PseudoInverse[A].b
or LeastSquares[A,b] |
x:=solve(A,b) |
| 46 | SSYEVX |
Computes selected eigenvalues and eigenvectors of a symmetric matrix. |
use eig() then user selects |
Eigenvalues[] then user selects |
eigenvalues(A) then user selects |
| 47 | SSYEVR |
Computes selected eigenvalues, and optionally, eigenvectors
of a real, symmetric matrix. Eigenvalues are computed by
the dqds algorithm, and eigenvectors are computed from
various "good" |
No direct support, but can use eig() then user selects |
No direct support, but can use Eigensystem() then user selects |
No direct support, but can use eigensystem() then user selects |
| 48 | SSYGVX |
Computes selected eigenvalues
and and optionally, the eigenvectors of a
generalized symmetric-definite
generalized eigenproblem
|
No direct support, [V,D]=eig(A,B,'chol') then user selects |
No direct support, but can use D,V=Eigensystem[A,B] or D,V=Eigensystem[A,B,k] then user selects |
missing? |
| 49 | SSPEVX |
Computes selected eigenvalues and eigenvectors of a symmetric matrix in packed storage. |
No direct support, but can use eig() then user selects |
No direct support, but can use Eigensystem() then user selects |
No direct support, but can use eigensystem() then user selects |
| 50 | SSPGVX |
Computes selected eigenvalues
and and optionally, the eigenvectors of a
generalized symmetric-definite
generalized eigenproblem
|
No direct support, [V,D]=eig(A,B,'chol') then user selects |
No direct support, but can use D,V=Eigensystem[A,B] or D,V=Eigensystem[A,B,k] then user selects |
missing? |
| 51 | SSBEVX |
Computes selected eigenvalues and eigenvectors of a symmetric band matrix. |
No direct support, but can use eig() then user selects |
No direct support, but can use Eigensystem() then user selects |
No direct support, but can use eigensystem() then user selects |
| 52 | SSBGVX |
Computes selected eigenvalues, and optionally, the eigenvectors of a real generalized symmetric-definite banded eigenproblem, of the form A*x=(lambda)*B*x. A and B are assumed to be symmetric and banded, and B is also positive definite. |
No direct support, [V,D]=eig(A,B,'chol') then user selects |
No direct support, but can use D,V=Eigensystem[A,B] or D,V=Eigensystem[A,B,k] then user selects |
missing? |
| 53 | SSTEVX |
Computes selected eigenvalues and eigenvectors of a real symmetric tridiagonal matrix. |
No direct support, but can use eig() then user selects |
No direct support, but can use Eigensystem() then user selects |
No direct support, but can use eigensystem() then user selects |
| 54 | SSTEVR |
Computes selected eigenvalues, and optionally,
eigenvectors of a real symmetric tridiagonal matrix.
Eigenvalues are computed by the dqds algorithm, and
eigenvectors are computed from various "good" |
No direct support, but can use eig() then user selects |
No direct support, but can use Eigensystem() then user selects |
No direct support, but can use eigensystem() then user selects |
| 55 | SGEESX |
Computes the eigenvalues and Schur factorization of a general matrix, orders the factorization so that selected eigenvalues, are at the top left of the Schur form, and computes reciprocal condition numbers for the average of the selected eigenvalues and for the associated right invariant subspace. |
No direct support, but can use eig(), shur(), then user selects |
No direct support, but can use Eigensystem(), SchurDecomposition[], then user selects |
No direct support, but can use eigensystem() then user selects |
| 56 | SGGESX |
Computes the generalized eigenvalues, the real Schur form, and optionally, the left and/or right matrices of Schur vectors. |
No direct support, but can use eig(), shur(), then user selects |
No direct support, but can use Eigensystem[], SchurDecomposition[], then user selects |
No support for generalized eigenvalues. No shur decomposition |
| 57 | SGEEVX |
Computes the eigenvalues and left and right eigenvectors of a general matrix, with preliminary balancing of the matrix, and computes reciprocal condition numbers for the eigenvalues and right eigenvectors. |
No direct support, but can use eig() and cond() |
No direct support, but can use Eigensystem[], and LinearAlgebra`MatrixConditionNumber[A] |
No support but can use eigensystem(), no condition number. |
| 58 | SGGEVX |
Computes the generalized eigenvalues, and optionally, the left and/or right generalized eigenvectors. |
[V,D]=eig(A,B,'chol') |
[D,V]=Eigensystem[A,B] |
No support for generalized eigenvalues |
Nasser M. Abbasi