UTL_NLA
The UTL_NLA package exposes a subset of the BLAS and LAPACK (Version 3.0) operations on vectors and matrices represented as VARRAYs.
This chapter contains the following topics:
UTL_NLA Overview
The UTL_NLA package exposes a subset of the BLAS (Basic Linear Algebra Subprograms) and LAPACK (Linear Algebra PACKage) (Version 3.0) operations on vectors and matrices represented as VARRAYs.
Standards
For more information on the BLAS and LAPACK standards see
Required Expertise
Users of this package are expected to have a sound grasp of linear algebra in general and of the BLAS and LAPACK libraries in particular.
Implementation
The mapping between BLAS and LAPACK procedures and their corresponding PL/SQL calls is one-to-one.
-
All BLAS functions have the
BLAS_prefix (for example, the BLAS_ASUM Functions). The subroutines and functions in BLAS are mapped to PL/SQL procedures and functions, respectively. -
All LAPACK functions have the
LAPACK_prefix (for example, the LAPACK_GBSV Procedures). The subroutines in LAPACK are mapped to PL/SQL procedures. Procedures that perform the same operation but differ only on the datatype of the arguments have the same overloaded names.
The mapping between BLAS and LAPACK procedure parameters and those of their corresponding PL/SQL subprograms is almost one-to-one.
-
Also in the PL/SQL interface for LAPACK, all
/work/arguments have been removed. TheUTL_NLApackage manages the allocation and de-allocation of all work areas required by the libraries. -
A new optional parameter,
pack, has been added to the end of each LAPACK procedure that specifies if the matrix has been linearized in the row-major or column-major (default) format.
UTL_NLA Rules and Limits
Vectors and matrices are stored in VARRAYs with a maximum size of one million entries. Given this restriction, UTL_NLA vectors can be up to one million entries but matrices need to be of size RxC <= 1,000,000.
UTL_NLA Security Model
The UTL_NLA package is owned by user SYS and is installed as part of database installation. Execution privilege on the package is granted to public. The routines in the package are run with invokers’ rights (run with the privileges of the current user).
Subprogram Groups
The UTL_NLA package contains subprogram groups for BLAS and LAPACK operations.
UTL_NLA BLAS Level 1 (Vector-Vector Operations) Subprograms
This table lists and briefly describes the UTL_NLA BLAS Level 1 Vector-Vector Operations subprograms.
Table 1 BLAS Level 1 (Vector-Vector Operations) Subprograms
| Subprogram | Description |
|---|---|
| BLAS_ASUM Functions | Computes the sum of the absolute values of the vector components |
| BLAS_AXPY Procedures | Copies alpha*X + Y into vector Y |
| BLAS_COPY Procedures | Copies the contents of vector X to vector Y |
| BLAS_DOT Functions | Returns the dot (scalar) product of two vectors X and Y |
| BLAS_IAMAX Functions | Computes the index of the first element of a vector that has the largest absolute value |
| BLAS_NRM2 Functions | Computes the vector 2-norm (Euclidean norm) |
| BLAS_ROT Procedures | Returns the plane rotation of points |
| BLAS_ROTG Procedures | Returns the Givens rotation of points |
| BLAS_SCAL Procedures | Scales a vector by a constant |
| BLAS_SWAP Procedures | Swaps the contents of two vectors each of size n |
UTL_NLA BLAS Level 2 (Matrix-Vector Operations) Subprograms
This table lists and briefly describes the UTL_NLA BLAS Level 2 Matrix-Vector Operations subprograms.
Table 2 BLAS Level 2 (Matrix-Vector Operations) Subprograms
| Subprogram | Description |
|---|---|
| BLAS_GBMV Procedures | Performs the matrix-vector operation y := alpha*A*x + beta*yor y := alpha*A'*x + beta*y where alpha and beta are scalars, x and y are vectors and A is an m by n band matrix, with kl sub-diagonals and ku super-diagonals |
| BLAS_GEMV Procedures | Performs the matrix-vector operations y := alpha*A*x + beta*y or y := alpha*A'*x + beta*y where alpha and beta are scalars, x and y are vectors and A is an m by n matrix |
| BLAS_GER Procedures | Performs a rank 1 operation A := alpha*x*y' + A where alpha is a scalar, x is an m element vector, y is an n element vector and A is an m by n matrix |
| BLAS_SBMV Procedures | Performs a matrix-vector operation y := alpha*A*x + beta*y where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric band matrix, with k super-diagonals |
| BLAS_SPMV Procedures | Performs a matrix-vector operation y := alpha*A*x + beta*y where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric matrix, supplied in packed form |
| BLAS_SPR Procedures | Performs a symmetric rank 1 operation A := alpha*x*x' + A where alpha is a real scalar, x is an n element vector, and A is an n by n symmetric matrix, supplied in packed form |
| BLAS_SPR2 Procedures | Performs a symmetric rank 2 operation A := alpha*x*y' + alpha*y*x' +A where alpha is a scalar, x and y are n element vectors, and A is an n by n symmetric matrix, supplied in packed form |
| BLAS_SBMV Procedures | Performs a matrix-vector operation y := alpha*A*x + beta*y where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric band matrix, with k super-diagonals |
| BLAS_SYMV Procedures | Performs a matrix-vector operation y := alpha*A*x + beta*y where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric matrix |
| BLAS_SYR Procedures | Performs a symmetric rank 1 operationA := alpha*x*x' + A where alpha is a real scalar, x is an n element vector, and A is an n by n symmetric matrix |
| BLAS_SYR2 Procedures | Performs a symmetric rank 2 operation A := alpha*x*y' + alpha*y*x' + A where alpha is a scalar, x and y are n element vectors, and A is an n by n symmetric matrix |
| BLAS_TBMV Procedures | Performs a matrix-vector operation x := A*x or A'*x = b where x is an n element vector and A is an n by n unit, or non-unit, upper or lower triangular band matrix, with (k + 1) diagonals |
| BLAS_TBSV Procedures | Solves one of the systems of equation A*x = b or A'*x = b where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular band matrix, with (k + 1) diagonals |
| BLAS_TPMV Procedures | Performs a matrix-vector operation x := A*x or x := A'*x where x is an n element vector and A is an n by n unit, or non-unit, upper or lower triangular matrix, supplied in packed form |
| BLAS_TPSV Procedures | Solves one of the systems of equation A*x = b or A'*x = b where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular matrix, supplied in packed form |
| BLAS_TRMV Procedures | Performs a matrix-vector operation x := A*x or x := A'*x where x is an n element vector and A is an n by n unit, or non-unit, upper or lower triangular matrix |
| BLAS_TRSV Procedures | Solves one of the systems of equation A*x = b or A'*x = b where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular matrix |
UTL_NLA BLAS Level 3 (Matrix-Matrix Operations) Subprograms
This table lists and briefly describes the UTL_NLA BLAS Level 3 Matrix-Matrix Operations subprograms.
Table 3 BLAS Level 3 (Matrix-Matrix Operations) Subprograms
| Subprogram | Description |
|---|---|
| BLAS_GEMM Procedures | Performs one of the matrix-vector operations C := alpha*op(A)*op(B) + beta*C where op(X) is one of op(X) = X or op(X) = X' where alpha and beta are scalars, and A, B and C are matrices, with op(A) an m by k matrix, op(B) a k by n matrix and C an m by n matrix |
| BLAS_SYMM Procedures | Performs one of the matrix-vector operations C := alpha*A*B + beta*C or C := alpha*B*A + beta*C where alpha and beta are scalars, A is a symmetric matrix, and B and C are m by n matrices |
| BLAS_SYR2K Procedures | Performs one of the symmetric rank2 k operations C := alpha*A*B' + alpha*B*A' + beta*C or C := alpha*A'*B + alpha*B'*A + beta*C where alpha and beta are scalars, C is an n by n symmetric matrix and A and B are n by k matrices in the first case and k by n matrices in the second case |
| BLAS_SYRK Procedures | Performs one of the symmetric rank k operations C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*Cwhere alpha and beta are scalars, C is an n by n symmetric matrix and A is an n by k matrix in the first case and a k by n matrix in the second case |
| BLAS_TRMM Procedures | Performs one of the matrix-vector operations B := alpha*op(A)*B or B := alpha*B*op(A) where alpha is a scalar, B is an m by n matrix, A is a unit, or non-unit, upper or lower triangular matrix and op(A) is one of two alternatives |
| BLAS_TRSM Procedures | Performs one of the matrix-vector operations op(A)*X = alpha*B or X*op(A) = alpha*B where alpha is a scalar, X and B are m by n matrices, A is a unit, or non-unit, upper or lower triangular matrix, op(A) is one of two alternatives. The matrix X is overwritten on B |
UTL_NLA LAPACK Driver Routines (Linear Equations) Subprograms
This table lists and briefly describes the LAPACK Driver Routines (Linear Equations) subprograms.
Table 4 LAPACK Driver Routines (Linear Equations) Subprograms
| Subprogram | Description |
|---|---|
| LAPACK_GBSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n matrix and x and b are n by nrhs matrices. The LU decomposition with partial pivoting and row interchanges is used to factor A. |
| LAPACK_GESV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n matrix and x and b are n by nrhs matrices. The LU decomposition with partial pivoting and row interchanges is used to factor A. |
| LAPACK_GTSV Procedures | This procedure solves the equation a * x = b where a is an n by n tridiagonal matrix, by Gaussian elimination with partial pivoting. |
| LAPACK_PBSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric positive definite band matrix and x and b are n by nrhs matrices. The Cholesky decomposition is used to factor A. |
| LAPACK_POSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric positive definite matrix and x and b are n by nrhs matrices. The Cholesky decomposition is used to factor A. |
| LAPACK_PPSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric positive definite matrix stored in packed format and x and b are n by nrhs matrices. The Cholesky decomposition is used to factor A. |
| LAPACK_PTSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric positive definite tridiagonal matrix, and x and b are n by nrhs matrices. |
| LAPACK_SPSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric matrix stored in packed format, and x and b are n by nrhs matrices. The diagonal pivoting method is used to factor A. |
| LAPACK_SYSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric matrix, and x and b are n by nrhs matrices. The diagonal pivoting method is used to factor A. |
UTL_NLA LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms
This table lists and briefly describes the LAPACK Driver Routines (LLS and Eigenvalue) subprograms.
Table 5 LAPACK Driver Routines (LLS and Eigenvalue Problems)
| Subprogram | Description |
|---|---|
| LAPACK_GEES Procedures | Computes for an n by n real nonsymmetric matrix A, the eigenvalues, the real Schur form T, and, optionally, the matrix of Schur vectors Z. This gives the Schur factorization A = Z*T*(Z**T). |
| LAPACK_GEEV Procedures | Computes for an n by n real nonsymmetric matrix A, the eigenvalues and, optionally, the left and/or right eigenvectors. |
| LAPACK_GELS Procedures | Solves overdetermined or underdetermined real linear systems involving an m by n matrix A, or its transpose, using a QR or LQ factorization of A. It is assumed that A has full rank. |
| LAPACK_GESDD Procedures | Computes the singular value decomposition (SVD) of a real m by n matrix A, optionally computing the left and right singular vectors. If singular vectors are desired, it uses a divide-and-conquer algorithm that makes mild assumptions about floating point arithmetic. |
| LAPACK_GESVD Procedures | Computes the singular value decomposition (SVD) of a real m by n matrix A, optionally computing the left and/or right singular vectors. The SVD is written A = U * SIGMA * transpose(V). |
| LAPACK_SBEV Procedures | Computes all the eigenvalues and, optionally, eigenvectors of a real symmetric band matrix A |
| LAPACK_SBEVD Procedures | Ccomputes all the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A. If eigenvectors are desired, it uses a divide and conquer algorithm that makes mild assumptions about floating point arithmetic. |
| LAPACK_SPEV Procedures | Computes all the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A in packed storage |
| LAPACK_SPEVD Procedures | Computes all the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A in packed storage. If eigenvectors are desired, it uses a divide and conquer algorithm that makes mild assumptions about floating point arithmetic. |
| LAPACK_STEV Procedures | Computes all eigenvalues and, optionally, eigenvectors of a real symmetric tridiagonal matrix A |
| LAPACK_STEVD Procedures | Computes all eigenvalues and, optionally, eigenvectors of a real symmetric tridiagonal matrix A. If eigenvectors are desired, it uses a divide and conquer algorithm that makes mild assumptions about floating point arithmetic. |
| LAPACK_SYEV Procedures | Computes all eigenvalues and, optionally, eigenvectors of a real symmetric matrix A |
| LAPACK_SYEVD Procedures | Computes all the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A. If eigenvectors are desired, it uses a divide and conquer algorithm that makes mild assumptions about floating point arithmetic. |
Summary of UTL_NLA Subprograms
This table lists the UTL_NLA subprograms and briefly describes them.
Table 6 UTL_NLA Package Subprograms
| Subprogram | Description | Group |
|---|---|---|
| BLAS_ASUM Functions | Computes the sum of the absolute values of the vector components | BLAS Level 1 (Vector-Vector Operations) Subprograms |
| BLAS_AXPY Procedures | Copies alpha*X + Y into vector Y |
BLAS Level 1 (Vector-Vector Operations) Subprograms |
| BLAS_COPY Procedures | Copies the contents of vector X to vector Y |
BLAS Level 1 (Vector-Vector Operations) Subprograms |
| BLAS_DOT Functions | Returns the dot (scalar) product of two vectors X and Y |
BLAS Level 1 (Vector-Vector Operations) Subprograms |
| BLAS_GBMV Procedures | Performs the matrix-vector operation y := alpha*A*x + beta*yor y := alpha*A'*x + beta*y where alpha and beta are scalars, x and y are vectors and A is an m by n band matrix, with kl sub-diagonals and ku super-diagonals |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_GEMM Procedures | Performs one of the matrix-vector operations where alpha and beta are scalars, and A, B and C are matrices, with op(A) an m by k matrix, op(B) a k by n matrix and C an m by n matrix |
BLAS Level 3 (Matrix-Matrix Operations) Subprograms |
| BLAS_GEMV Procedures | Performs the matrix-vector operations y := alpha*A*x + beta*y or y := alpha*A'*x + beta*y where alpha and beta are scalars, x and y are vectors and A is an m by n matrix |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_GER Procedures | Performs a rank 1 operation A := alpha*x*y' + A where alpha is a scalar, x is an m element vector, y is an n element vector and A is an m by n matrix |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_IAMAX Functions | Computes the index of the first element of a vector that has the largest absolute value | BLAS Level 1 (Vector-Vector Operations) Subprograms |
| BLAS_NRM2 Functions | Computes the vector 2-norm (Euclidean norm) | BLAS Level 1 (Vector-Vector Operations) Subprograms |
| BLAS_ROT Procedures | Returns the plane rotation of points | BLAS Level 1 (Vector-Vector Operations) Subprograms |
| BLAS_ROTG Procedures | Returns the Givens rotation of points | BLAS Level 1 (Vector-Vector Operations) Subprograms |
| BLAS_SBMV Procedures | Performs a matrix-vector operation y := alpha*A*x + beta*y where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric band matrix, with k super-diagonals |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_SCAL Procedures | Scales a vector by a constant | BLAS Level 1 (Vector-Vector Operations) Subprograms |
| BLAS_SPMV Procedures | Performs a matrix-vector operation y := alpha*A*x + beta*y where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric matrix, supplied in packed form |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_SPR Procedures | Performs a symmetric rank 1 operation A := alpha*x*x' + A where alpha is a real scalar, x is an n element vector, and A is an n by n symmetric matrix, supplied in packed form |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_SPR2 Procedures | Performs a symmetric rank 2 operation where alpha is a scalar, x and y are n element vectors, and A is an n by n symmetric matrix, supplied in packed form |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_SWAP Procedures | Swaps the contents of two vectors each of size n | BLAS Level 1 (Vector-Vector Operations) Subprograms |
| BLAS_SYMM Procedures | Performs one of the matrix-vector operations where alpha and beta are scalars, A is a symmetric matrix, and B and C are m by n matrices |
BLAS Level 3 (Matrix-Matrix Operations) Subprograms |
| BLAS_SYMV Procedures | Performs a matrix-vector operation where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric matrix |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_SYR Procedures | Performs a symmetric rank 1 operation where alpha is a real scalar, x is an n element vector, and A is an n by n symmetric matrix |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_SYR2 Procedures | Performs a symmetric rank 2 operation where alpha is a scalar, x and y are n element vectors, and A is an n by n symmetric matrix |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_SYR2K Procedures | Performs one of the symmetric rank2 k operations where alpha and beta are scalars, C is an n by n symmetric matrix and A and B are n by k matrices in the first case and k by n matrices in the second case |
BLAS Level 3 (Matrix-Matrix Operations) Subprograms |
| BLAS_SYRK Procedures | Performs one of the symmetric rank k operations where alpha and beta are scalars, C is an n by n symmetric matrix and A is an n by k matrix in the first case and a k by n matrix in the second case |
BLAS Level 3 (Matrix-Matrix Operations) Subprograms |
| BLAS_TBMV Procedures | Performs a matrix-vector operation where x is an n element vector and A is an n by n unit, or non-unit, upper or lower triangular band matrix, with (k + 1) diagonals |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_TBSV Procedures | Solves one of the systems of equation where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular band matrix, with (k + 1) diagonals |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_TPMV Procedures | Performs a matrix-vector operation where x is an n element vector and A is an n by n unit, or non-unit, upper or lower triangular matrix, supplied in packed form |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_TPSV Procedures | Solves one of the systems of equation where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular matrix, supplied in packed form |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_TRMM Procedures | Performs one of the matrix-vector operations wherealpha is a scalar, B is an m by n matrix, A is a unit, or non-unit, upper or lower triangular matrix and op(A) is one of two alternatives |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_TRMV Procedures | Performs a matrix-vector operation where x is an n element vector and A is an n by n unit, or non-unit, upper or lower triangular matrix |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| BLAS_TRSM Procedures | Performs one of the matrix-vector operations op( A )*X = alpha*B or X*op(A) = alpha*B where alpha is a scalar, X and B are m by n matrices, A is a unit, or non-unit, upper or lower triangular matrix, op(A) is one of two alternatives. The matrix X is overwritten on B |
BLAS Level 3 (Matrix-Matrix Operations) Subprograms |
| BLAS_TRSV Procedures | Solves one of the systems of equation where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular matrix |
BLAS Level 2 (Matrix-Vector Operations) Subprograms |
| LAPACK_GBSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n matrix and x and b are n by nrhs matrices. The LU decomposition with partial pivoting and row interchanges is used to factor A. |
LAPACK Driver Routines (Linear Equations) Subprograms |
| LAPACK_GEES Procedures | Computes for an n by n real nonsymmetric matrix A, the eigenvalues, the real Schur form T, and, optionally, the matrix of Schur vectors Z. This gives the Schur factorization A = Z*T*(Z**T). |
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms |
| LAPACK_GEEV Procedures | Computes for an n by n real nonsymmetric matrix A, the eigenvalues and, optionally, the left and/or right eigenvectors. |
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms |
| LAPACK_GELS Procedures | Solves overdetermined or underdetermined real linear systems involving an m by n matrix A, or its transpose, using a QR or LQ factorization of A. It is assumed that A has full rank. |
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms |
| LAPACK_GESDD Procedures | Computes the singular value decomposition (SVD) of a real m by n matrix A, optionally computing the left and right singular vectors. If singular vectors are desired, it uses a divide-and-conquer algorithm that makes mild assumptions about floating point arithmetic. |
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms |
| LAPACK_GESV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n matrix and x and b are n by nrhs matrices. The LU decomposition with partial pivoting and row interchanges is used to factor A. |
LAPACK Driver Routines (Linear Equations) Subprograms |
| LAPACK_GESVD Procedures | Computes the singular value decomposition (SVD) of a real m by n matrix A, optionally computing the left and/or right singular vectors. The SVD is written A = U * SIGMA * transpose(V). |
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms |
| LAPACK_GTSV Procedures | This procedure solves the equation a * x = b where a is an n by n tridiagonal matrix, by Gaussian elimination with partial pivoting. |
LAPACK Driver Routines (Linear Equations) Subprograms |
| LAPACK_PBSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric positive definite band matrix and x and b are n by nrhs matrices. The Cholesky decomposition is used to factor A. |
LAPACK Driver Routines (Linear Equations) Subprograms |
| LAPACK_POSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric positive definite matrix and x and b are n by nrhs matrices. The Cholesky decomposition is used to factor A. |
LAPACK Driver Routines (Linear Equations) Subprograms |
| LAPACK_PPSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric positive definite matrix stored in packed format and x and b are n by nrhs matrices. The Cholesky decomposition is used to factor A. |
LAPACK Driver Routines (Linear Equations) Subprograms |
| LAPACK_PTSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric positive definite tridiagonal matrix, and x and b are n by nrhs matrices. |
LAPACK Driver Routines (Linear Equations) Subprograms |
| LAPACK_SBEV Procedures | Computes all the eigenvalues and, optionally, eigenvectors of a real symmetric band matrix A |
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms |
| LAPACK_SBEVD Procedures | Computes all the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A. If eigenvectors are desired, it uses a divide and conquer algorithm that makes mild assumptions about floating point arithmetic. |
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms |
| LAPACK_SPEV Procedures | Computes all the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A in packed storage |
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms |
| LAPACK_SPEVD Procedures | Computes all the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A in packed storage. If eigenvectors are desired, it uses a divide and conquer algorithm that makes mild assumptions about floating point arithmetic. |
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms |
| LAPACK_SPSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric matrix stored in packed format, and x and b are n by nrhs matrices. The diagonal pivoting method is used to factor A. |
LAPACK Driver Routines (Linear Equations) Subprograms |
| LAPACK_STEV Procedures | Computes all eigenvalues and, optionally, eigenvectors of a real symmetric tridiagonal matrix A |
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms |
| LAPACK_STEVD Procedures | Computes all eigenvalues and, optionally, eigenvectors of a real symmetric tridiagonal matrix A. If eigenvectors are desired, it uses a divide and conquer algorithm that makes mild assumptions about floating point arithmetic. |
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms |
| LAPACK_SYEVD Procedures | Computes all the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A. If eigenvectors are desired, it uses a divide and conquer algorithm that makes mild assumptions about floating point arithmetic. |
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms |
| LAPACK_SYSV Procedures | This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric matrix, and x and b are n by nrhs matrices. The diagonal pivoting method is used to factor A. |
LAPACK Driver Routines (Linear Equations) Subprograms |
BLAS_ASUM Functions
This procedure computes the sum of the absolute values of the vector components.
See Also: BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_ASUM (
n IN POSITIVEN,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN)
RETURN BINARY_DOUBLE;
UTL_NLA.BLAS_ASUM (
n IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
x IN UTL_NLA_ARRAY_FLT)
RETURN BINARY_FLOAT
Parameters
Table 7 BLAS_ASUM Function Parameters
| Parameter | Description |
|---|---|
n |
Specifies the number of elements of the vectors x and y. n must be at least zero. |
x |
( 1 + ( n - 1 )*abs( |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
BLAS_AXPY Procedures
This procedure copies alpha*X + Y into vector Y.
See Also: BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_AXPY (
n IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
y IN OUT UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN);
UTL_NLA.BLAS_AXPY (
n IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
x IN UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
y IN OUT UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN);
Parameters
Table 8 BLAS_AXPY Procedure Parameters
| Parameter | Description |
|---|---|
n |
Specifies the number of elements of the vectors x and y. n must be at least zero. |
alpha |
Specifies the scalar alpha. |
x |
( 1 + ( n - 1 )*abs( |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
y |
( 1 + ( n - 1 )*abs( incy) ) |
incy |
Specifies the increment for the elements of y. incy must not be zero. |
BLAS_COPY Procedures
This procedure copies the contents of vector X to vector Y.
See Also: BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_COPY (
n IN POSITIVEN,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
y IN OUT UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN);
UTL_NLA.BLAS_COPY (
n IN POSITIVEN,
x IN UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
y IN OUT UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN);
Parameters
Table 9 BLAS_COPY Procedure Parameters
| Parameter | Description |
|---|---|
n |
Specifies the number of elements of the vectors x and y. n must be at least zero. |
x |
( 1 + ( n - 1 )*abs( incx ) ) |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
y |
( 1 + ( n - 1 )*abs( incy) ) |
incy |
Specifies the increment for the elements of y. incy must not be zero. |
BLAS_DOT Functions
This function returns the dot (scalar) product of two vectors X and Y.
See Also: BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_DOT (
n IN POSITIVEN,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
y IN UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN)
RETURN BINARY_DOUBLE;
UTL_NLA.BLAS_DOT (
n IN POSITIVEN,
x IN UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
y IN UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN)
RETURN BINARY_FLOAT;
Parameters
Table 10 BLAS_DOT Function Parameters
| Parameter | Description |
|---|---|
n |
Specifies the number of elements of the vectors x and y. n must be at least zero. |
x |
( 1 + ( n - 1 )*abs( incx ) ) |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
y |
( 1 + ( n - 1 )*abs( incy) ) |
incy |
Specifies the increment for the elements of y. incy must not be zero. |
BLAS_GBMV Procedures
This procedure performs one of the matrix-vector operations y := alpha*A*x + beta*y or y := alpha*A'*x + beta*y, where alpha and beta are scalars, x and y are vectors and A is an m by n band matrix, with kl sub-diagonals and ku super-diagonals.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_GBMV (
trans IN flag,
m IN POSITIVEN, n IN POSITIVEN,
kl IN NATURALN,
ku IN NATURALN,
alpha IN SCALAR_DOUBLE,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
beta IN SCALAR_DOUBLE,
y IN OUT UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_GBMV (
trans IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
kl IN NATURALN,
ku IN NATURALN,
alpha IN SCALAR_FLOAT,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
x IN UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
beta IN SCALAR_FLOAT,
y IN OUT UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 11 BLAS_GBMV Procedure Parameters
| Parameter | Description |
|---|---|
trans |
Specifies the operation to be performed:
|
m |
Specifies the number of rows of the matrix A. m must be at least zero. |
n |
Specifies the number of columns of the matrix A. n must be at least zero. |
kl |
Specifies the number of sub-diagonals of the matrix A. kl must satisfy 0. le. kl. |
| ku | Specifies the number of super-diagonals of the matrix A. ku must satisfy 0 .le. ku. |
alpha |
SCALAR_FLOAT/DOUBLE. Specifies the scalar alpha. |
a |
Before entry, the leading Elements in the array |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. lda must be at least (kl+ku+1). |
x |
( 1 + ( n - 1 )*abs( incx ) ) when ( 1 + ( m - 1 )*abs( incx ) ) otherwise. Before entry, the incremented array |
incx |
Specifies the increment for the elements of x. Must not be zero. |
beta |
SCALAR_FLOAT/DOUBLE. Specifies the scalar beta. When beta is supplied as zero then y need not be set on input. |
y |
( 1 + ( m - 1 )*abs( incy ) ) when (1+(n-1)*abs(incy)) otherwise. Before entry with |
incy |
Specifies the increment for the elements of y. Must not be zero. |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_GEMM Procedures
This procedure performs one of the matrix-matrix operations.
C := alpha*op( A )*op( B ) + beta*C
where op(X) is one of
op(X) = X
or
op(X) = X'
where alpha and beta are scalars, and A, B and C are matrices, with op(A) an m by k matrix, op(B) a k by n matrix and C an m by n matrix.
See Also: BLAS Level 3 (Matrix-Matrix Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_GEMM (
transa IN flag,
transb IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
k IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
b IN UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
beta IN SCALAR_DOUBLE,
c IN OUT UTL_NLA_ARRAY_DBL,
ldc IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_GEMM (
transa IN flag,
transb IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
k IN POSITIVEN,
alpha IN SCALAR_FLOAT,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
b IN UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
beta IN SCALAR_FLOAT,
c IN OUT UTL_NLA_ARRAY_FLT,
ldc IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 12 BLAS_GEMM Procedure Parameters
| Parameter | Description |
| — | — |
| transa |
Specifies the form of op(A) to be used in the matrix multiplication as follows:
transa='N'or'n':op(A) = 'A'transa='T'or't':op(A) = 'A'transa='C'or'c':op(A) = 'A'
transb | Specifies the form of op(B) to be used in the matrix multiplication as follows:
transb='N'or'n':op(B) = Btransb='T'or't':op(B) = B'transb='C'or'c':op(B) = B'
m | Specifies the number of rows of the matrix op(A) and of the matrix C. m must be at least zero. |
| n | Specifies the number of columns of the matrix op(B) and of the matrix C. n must be at least zero. |
| k | Specifies the rows of the matrix op(A) and the number of columns of the matrix op(B). k must be at least zero. |
| alpha | SCALAR_FLOAT/DOUBLE. Specifies the scalar alpha. |
| a | UTL_NLA_ARRAY_FLT/DBL of DIMENSION ` (lda, ka) where ka is k when transa = ‘N’ or ‘n’, and is m otherwise. Before entry with transa = ‘N’ or ‘n’, the leading m by k part of the array A must contain the matrix A, otherwise the leading k by m part of the array A must contain the matrix A. |
| lda | Specifies the first dimension of a as declared in the calling (sub) program. When transa = ‘N’ or ‘n’, lda must be at least max (1,k). |
| b | UTL_NLA_ARRAY_FLT/DBL of DIMENSION (lda, kb) where kb is n when transb = '‘N’ or ‘n’, and is k otherwise. Before entry with transb = ‘N’ or ‘n’, the leading k by n part of the array b must contain the matrix B, otherwise the leading n by k part of the arrayb must contain the matrix B. |
| ldb | Specifies the first dimension of b as declared in the calling (sub) program. When transb = ‘N’ or ‘n’, ldb must be at least max (1, n). |
| beta | SCALAR_FLOAT/DOUBLE. Specifies the scalar beta. When beta is supplied as zero then c need not be set on input. |
| c | UTL_NLA_ARRAY_FLT/DBL of DIMENSION (ldc, n). Before entry, the leading m by n part of the array C must contain the matrix C, except when beta is zero, in which case C need not be set on entry. On exit, the arrayC is overwritten by the m by n matrix (alphaop(A)op(B) + beta*C). |
| ldc | Specifies the first dimension of C as declared in the calling (sub) program. ldc must be at least max(1, m). |
| pack` | (Optional) Flags the packing of the matrices:
'
C': column-major (default)'
R': row-major
BLAS_GEMV Procedures
This procedure performs one of the matrix-vector operations: y := alpha*A*x + beta*y or y := alpha*A'*x + beta*y where alpha and beta are scalars, x and y are vectors and A is an m by n matrix.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_GEMV (
trans IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
beta IN SCALAR_DOUBLE,
y IN OUT UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_GEMV (
trans IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
alpha IN SCALAR_FLOAT,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
x IN UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
beta IN SCALAR_FLOAT,
y IN OUT UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 13 BLAS_GEMV Procedure Parameters
| Parameter | Description |
|---|---|
trans |
Specifies the operation to be performed:
|
m |
Specifies the number of rows of the matrix A. m must be at least zero. |
n |
Specifies the number of columns of the matrix A. n must be at least zero. |
alpha |
SCALAR_FLOAT/DOUBLE. Specifies the scalar alpha. |
a |
UTL_NLA_ARRAY_FLT/DBL of DIMENSION (lda, n). Before entry, the leading m by n part of the array a must contain the matrix of coefficients. |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. lda must be at least max(1, m). |
x |
( 1 + ( when (1+(m-1)*abs(incx)) otherwise. Before entry, the incremented array |
incx |
Specifies the increment for the elements of x. Must not be zero. |
beta |
SCALAR_FLOAT/DOUBLE. Specifies the scalar beta. When beta is supplied as zero then y need not be set on input. |
y |
( 1 + ( m - 1 )*abs( incy ) ) when ( 1 + ( n - 1 )*abs( incy ) ) otherwise. Before entry with |
incy |
Specifies the increment for the elements of y. Must not be zero. |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_GER Procedures
This procedure performs the rank 1 operation: A := alpha*x*y' + A where alpha is a scalar, x is an m element vector, y is an n element vector and A is an m by n matrix.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_GER (
m IN POSITIVEN,
n IN POSITIVEN,
alpha IN SCALAR_DBL,
x IN OUT UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
y IN UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_GER (
m IN POSITIVEN,
n IN POSITIVEN,
alpha IN SCALAR_FLT,
x IN OUT UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
y IN UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 14 BLAS_GER Procedure Parameters
| Parameter | Description |
|---|---|
m |
Specifies the number of rows of the matrix A. m must be at least zero. |
n |
Specifies the number of columns of the matrix A. n must be at least zero. |
alpha |
Specifies the scalar alpha. |
x |
( 1 + ( m - 1 )*abs( incx ) ) Before entry, the incremented array |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
y |
( 1 + ( n - 1 )*abs( incy ) ) Before entry, the incremented array |
incy |
Specifies the increment for the elements of y. incx must not be zero. |
a |
Before entry, the leading |
lda |
Specifies the first dimension of |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_IAMAX Functions
This function computes the index of first element of a vector that has the largest absolute value.
See Also: BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_IAMAX (
n IN POSITIVEN,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
RETURN POSITIVEN;
UTL_NLA.BLAS_IAMAX (
n IN POSITIVEN,
x IN UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
RETURN POSITIVEN;
Parameters
Table 15 BLAS_IAMAX Function Parameters
| Parameter | Description |
|---|---|
n |
Specifies the number of elements of the vectors x and y. n must be at least zero. |
x |
( 1 + ( n - 1 )*abs( incx ) ) |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
BLAS_NRM2 Functions
This function computes the vector 2-norm (Euclidean norm).
See Also: BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_NRM2 (
n IN POSITIVEN,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN)
RETURN BINARY_DOUBLE;
UTL_NLA.BLAS_NRM2 (
n IN POSITIVEN,
x IN UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN)
RETURN BINARY_FLOAT;
Parameters
Table 16 BLAS_NRM2 Function Parameters
| Parameter | Description |
|---|---|
n |
Specifies the number of elements of the vectors x and y. n must be at least zero. |
x |
( 1 + ( n - 1 )*abs( incx ) ) |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
BLAS_ROT Procedures
This procedure returns the plane rotation of points.
See Also: BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_ROT (
n IN POSITIVEN,
x IN OUT UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
y IN OUT UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN,
c IN SCALAR_DOUBLE,
s IN SCALAR_DOUBLE);
UTL_NLA.BLAS_ROT (
n IN POSITIVEN,
x IN OUT UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
y IN OUT UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN,
c IN SCALAR_DOUBLE,
s IN SCALAR_DOUBLE);
Parameters
Table 17 BLAS_ROT Procedure Parameters
| Parameter | Description |
|---|---|
n |
Specifies the number of elements of the vectors x and y. n must be at least zero. |
x |
(1+(n-1)* abs(incx)) |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
y |
(1+(n-1)*abs(incy)) |
incy |
Specifies the increment for the elements of y. incy must not be zero. |
c |
SCALAR_FLOAT/DOUBLE.Specifies the scalar C. |
s |
SCALAR_FLOAT/DOUBLE.Specifies the scalar S. |
BLAS_ROTG Procedures
This procedure returns the Givens rotation of points.
See Also: BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_ROTG (
a IN OUT SCALAR_DOUBLE,
b IN OUT SCALAR_DOUBLE,
c IN OUT SCALAR_DOUBLE,
s IN OUT SCALAR_DOUBLE);
UTL_NLA.BLAS_ROTG (
a IN OUT SCALAR_FLOAT,
b IN OUT SCALAR_FLOAT,
c IN OUT SCALAR_FLOAT,
s IN OUT SCALAR_FLOAT);
Parameters
Table 18 BLAS_ROTG Procedure Parameters
| Parameter | Description |
|---|---|
a |
SCALAR_FLOAT/DOUBLE. Specifies the scalar A. |
b |
SCALAR_FLOAT/DOUBLE. Specifies the scalar B. |
c |
SCALAR_FLOAT/DOUBLE. Specifies the scalar C. |
s |
SCALAR_FLOAT/DOUBLE. Specifies the scalar S. |
BLAS_SCAL Procedures
This procedure scales a vector by a constant.
See Also: BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_SCAL (
n IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
x IN OUT UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN);
UTL_NLA.BLAS_SCAL (
n IN POSITIVEN,
alpha IN SCALAR_FLOAT,
x IN OUT UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN);
Parameters
Table 19 BLAS_SCAL Procedure Parameters
| Parameter | Description |
|---|---|
n |
Specifies the number of elements of the vectors x and y. n must be at least zero. |
alpha |
Specifies the scalar alpha. |
x |
(1+(n-1)*abs(incx)) |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
BLAS_SPMV Procedures
This procedure performs the matrix-vector operation y := alpha*A*x + beta*y, where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric matrix, supplied in packed form.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_SPMV (
uplo IN flag,
n IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
ap IN UTL_NLA_ARRAY_DBL,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
beta IN SCALAR_DOUBLE,
y IN OUT UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_SPMV (
uplo IN flag,
n IN POSITIVEN,
alpha IN SCALAR_FLOAT,
ap IN UTL_NLA_ARRAY_FLT,
x IN UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
beta IN SCALAR_FLOAT,
y IN OUT UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 20 BLAS_SPMV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies the upper or lower triangular part of the matrix A is supplied in the packed array
|
n |
Specifies the order of the matrix A. n must be at least zero. |
alpha |
SCALAR_FLOAT/DOUBLE. Specifies the scalar alpha. |
ap |
((n*(n+1))/2) Before entry with Before entry with |
x |
(1+(n-1)*abs(incx)) Before entry, the incremented array |
incx |
Specifies the increment for the elements of x. Must not be zero. |
beta |
SCALAR_FLOAT/DOUBLE. Specifies the scalar beta. When beta is supplied as zero then Y need not be set on input. |
y |
(1+(Before entry, the incremented array |
incy |
Specifies the increment for the elements of y. Must not be zero. |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_SPR Procedures
This procedure performs the rank 1 operation A := alpha*x*x' + A, where alpha is a real scalar, x is an n element vector, and A is an n by n symmetric matrix, supplied in packed form.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_SPR (
uplo IN flag,
n IN POSITIVEN,
alpha IN SCALAR_DBL,
x IN OUT UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
ap IN OUT UTL_NLA_ARRAY_DBL,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_SPR (
uplo IN flag,
n IN POSITIVEN,
alpha IN SCALAR_FLT,
x IN OUT UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
ap IN OUT UTL_NLA_ARRAY_FLT,
pack IN flag DEFAULT 'C');
Parameters
Table 21 BLAS_SPR Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the upper or lower triangular part of the matrix
|
n |
Specifies the order of the matrix A. n must be at least zero. |
alpha |
Specifies the scalar alpha. |
x |
(1+(n-1)*abs(incx)) Before entry, the incremented array |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
ap |
((n*(n +1))/2) Before entry with Before entry with |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_SPR2 Procedures
This procedure performs the rank 2 operation A := alpha*x*y' + alpha*y*x' +A, where alpha is a scalar, x and y are n element vectors, and A is an n by n symmetric matrix, supplied in packed form.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_SPR2 (
uplo IN flag,
n IN POSITIVEN,
alpha IN SCALAR_DBL,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
y IN UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_SPR2 (
uplo IN flag,
n IN POSITIVEN,
alpha IN SCALAR_FLT,
x IN UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
y IN UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 22 BLAS_SPR2 Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the upper or lower triangular part of the matrix
|
n |
Specifies the order of the matrix A. n must be at least zero. |
alpha |
Specifies the scalar alpha. |
x |
(1+(n-1)*abs(incx)) Before entry, the incremented array |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
y |
(1+(n-1)*abs(incy)) Before entry, the incremented array |
incy |
Specifies the increment for the elements of y. incy must not be zero. |
ap |
((n*(n+1))/2) Before entry with Before entry with |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. lda must be at least (k + 1). |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_SBMV Procedures
This procedure performs the matrix-vector operation y := alpha*A*x + beta*y, where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric band matrix, with k super-diagonals.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_SBMV (
uplo IN flag,
n IN POSITIVEN,
k IN NATURALN,
alpha IN SCALAR_DOUBLE,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
beta IN SCALAR_DOUBLE,
y IN OUT UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_SBMV (
uplo IN flag,
n IN POSITIVEN,
k IN NATURALN,
alpha IN SCALAR_FLOAT,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
x IN UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
beta IN SCALAR_FLOAT,
y IN OUT UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 23 BLAS_SBMV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the upper or lower triangular part of the band matrix
|
n |
Specifies the order of the matrix A. n must be at least zero. |
k |
Specifies the number of super-diagonals of the matrix A. k must satisfy 0 .le. k. |
alpha |
SCALAR_FLOAT/DOUBLE. Specifies the scalar alpha. |
a |
Before entry with Before entry with Unchanged on exit |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. lda must be at least (k + 1). |
x |
(1+(n-1)*abs(incx)) Before entry, the incremented array |
incx |
Specifies the increment for the elements of x. Must not be zero. |
beta |
SCALAR_FLOAT/DOUBLE. Specifies the scalar beta. |
y |
(1+(n-1)*abs(incy)) Before entry, the incremented array |
incy |
Specifies the increment for the elements of y. Must not be zero. |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_SWAP Procedures
This procedure swaps the contents of two vectors each of size n.
Syntax
UTL_NLA.BLAS_SWAP (
n IN POSITIVEN,
x IN OUT UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
y IN OUT UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN);
UTL_NLA.BLAS_SWAP (
n IN POSITIVEN,
x IN OUT UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
y IN OUT UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN);
Parameters
Table 24 BLAS_SWAP Procedure Parameters
| Parameter | Description |
|---|---|
n |
Specifies the number of elements of the vectors x and y. n must be at least zero. |
x |
(1+(n-1)*abs(incx)) |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
y |
(1+(n-1)*abs(incy)) |
incy |
Specifies the increment for the elements of y. incy must not be zero. |
BLAS_SYMM Procedures
This procedure performs one of the matrix-matrix operations C := alpha*A*B + beta*C or C := alpha*B*A + beta*C, where alpha and beta are scalars, A is a symmetric matrix, and B and C are m by n matrices.
See Also: BLAS Level 3 (Matrix-Matrix Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_SYMM (
side IN flag,
uplo IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
b IN UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
beta IN SCALAR_DOUBLE,
c IN OUT UTL_NLA_ARRAY_DBL,
ldc IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_SYMM (
side IN flag,
uplo IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
alpha IN SCALAR_FLOAT,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
b IN UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
beta IN SCALAR_FLOAT,
c IN OUT UTL_NLA_ARRAY_FLT,
ldc IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 25 BLAS_SYMM Procedure Parameters
| Parameter | Description |
|---|---|
side |
Specifies whether the symmetric matrix
|
uplo |
Specifies whether the upper or lower triangular part of the array
|
m |
Specifies the number of rows of the matrix C. m must be at least zero. |
n |
Specifies the number of columns of the matrix C. n must be at least zero. |
alpha |
SCALAR_FLOAT/DOUBLE. Specifies the scalar alpha. |
a |
Before entry with Before entry with |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. When side = 'L' or 'l', lda must be at least max(1,m), otherwise lda must be at least max(1,n). |
b |
Before entry, the leading |
ldb |
Specifies the first dimension of b as declared in the calling (sub) program. ldb must be at least max(1,m). |
beta |
SCALAR_FLOAT/DOUBLE. Specifies the scalar beta. When beta is supplied as zero then c need not be set on input. |
| c | UTL_NLA_ARRAY_FLT/DBL of DIMENSION (ldc,n). Before entry, the leading m by n part of the array C must contain the matrix C, except when beta is zero, in which case C need not be set on entry. On exit, the array C is overwritten by the m by n updated matrix. |
ldc |
Specifies the first dimension of C as declared in the calling (sub) program. ldc must be at least max (1,m). |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_SYMV Procedures
This procedure performs the matrix-vector operation y := alpha*A*x + beta*y , where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric matrix.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_SYMV (
uplo IN flag,
n IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
beta IN SCALAR_DOUBLE,
y IN OUT UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_SYMV (
uplo IN flag,
n IN POSITIVEN,
alpha IN SCALAR_FLOAT,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
x IN UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
beta IN SCALAR_FLOAT,
y IN OUT UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 26 BLAS_SYMV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the upper or lower triangular part of the array
|
n |
Specifies the order of the matrix A. n must be at least zero. |
alpha |
SCALAR_FLOAT/DOUBLE. Specifies the scalar alpha. |
a |
Before entry with |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. lda must be at least max(1,n). |
x |
(1+(n-1)*abs(incx)) Before entry, the incremented array |
incx |
Specifies the increment for the elements of x. Must not be zero. |
beta |
SCALAR_FLOAT/DOUBLE. Specifies the scalar beta. When beta is supplied as zero then y need not be set on input. |
y |
(1+(n-1)*abs(incy)) Before entry, the incremented array |
incy |
Specifies the increment for the elements of y. Must not be zero. |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_SYR Procedures
This procedure performs the rank 1 operation A := alpha*x*x' + A , where alpha is a real scalar, x is an n element vector, and A is an n by n symmetric matrix.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_SYR (
uplo IN flag,
n IN POSITIVEN,
alpha IN SCALAR_DBL,
x IN OUT UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_SYR (
uplo IN flag,
n IN POSITIVEN,
alpha IN SCALAR_FLT,
x IN OUT UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 27 BLAS_SYR Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the upper or lower triangular part of the array
|
n |
Specifies the order of the matrix A. n must be at least zero. |
alpha |
Specifies the scalar alpha. |
x |
(1+(n-1)*abs(incx)) Before entry, the incremented array |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
a |
Before entry with Before entry with |
lda |
Specifies the first dimension of |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_SYR2 Procedures
This procedure performs the rank 2 operation A := alpha*x*y' + alpha*y*x' + A , where alpha is a scalar, x and y are n element vectors, and A is an n by n symmetric matrix.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_SYR2 (
uplo IN flag,
n IN POSITIVEN,
alpha IN SCALAR_DBL,
x IN UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
y IN UTL_NLA_ARRAY_DBL,
incy IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_SYR2 (
uplo IN flag,
n IN POSITIVEN,
alpha IN SCALAR_FLT,
x IN UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
y IN UTL_NLA_ARRAY_FLT,
incy IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 28 BLAS_SYR2 Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the upper or lower triangular part of the array
|
n |
Specifies the order of the matrix A. n must be at least zero. |
alpha |
Specifies the scalar alpha. |
x |
( 1 + ( n - 1 )*abs( incx ) ) Before entry, the incremented array |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
y |
( 1 + ( n - 1 )*abs( incy ) ) Before entry, the incremented array |
incy |
Specifies the increment for the elements of y. incy must not be zero. |
a |
With With |
lda |
Specifies the first dimension of |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_SYR2K Procedures
It performs one of the symmetric rank2 k operations C := alpha*A*B' + alpha*B*A' + beta*C or C := alpha*A'*B + alpha*B'*A + beta*C, where alpha and beta are scalars, C is an n by n symmetric matrix and A and B are n by k matrices in the first case and k by n matrices in the second case.
See Also: BLAS Level 3 (Matrix-Matrix Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_SYR2K (
uplo IN flag,
trans IN flag,
n IN POSITIVEN,
k IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
b IN UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
beta IN SCALAR_DOUBLE,
c IN OUT UTL_NLA_ARRAY_DBL,
ldc IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_SYR2K (
uplo IN flag,
trans IN flag,
n IN POSITIVEN,
k IN POSITIVEN,
alpha IN SCALAR_FLOAT,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
beta IN SCALAR_FLOAT,
c IN OUT UTL_NLA_ARRAY_FLT,
ldc IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 29 BLAS_SYR2K Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the upper or lower triangular part of the array
|
trans |
Specifies the operations to be performed:
|
n |
Specifies the order of matrix C. n must be at least zero. |
k |
On entry with trans = 'N' or 'n', k specifies the number of columns of the matrices A and B. On entry with trans = 'T' or 't' or trans = 'C' or 'c', k specifies the number of rows of the matrices A and B. k must be at least zero. |
alpha |
SCALAR_FLOAT/DOUBLE. Specifies the scalar alpha. |
a |
Before entry with |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. When trans = 'N' or 'n', lda must be at leastmax(1,n), otherwise lda must be at least max(1,k). |
b |
Before entry with |
ldb |
Specifies the first dimension of b as declared in the calling (sub) program. When trans = 'N' or 'n', ldb must be at least max (1,n), otherwise ldb must be at least max (1,k). |
beta |
SCALAR_FLOAT/DOUBLE. Specifies the scalar beta. |
| c |
Before entry with Before entry with |
ldc |
Specifies the first dimension of C as declared in the calling (sub) program. ldc must be at least max(1,n). |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_SYRK Procedures
This procedure performs one of the symmetric rank k operations C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C, where alpha and beta are scalars, C is an n by n symmetric matrix andA is an n by k matrix in the first case and a k byn matrix in the second case.
See Also: BLAS Level 3 (Matrix-Matrix Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_SYRK (
uplo IN flag,
trans IN flag,
n IN POSITIVEN,
k IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
beta IN SCALAR_DOUBLE,
c IN OUT UTL_NLA_ARRAY_DBL,
ldc IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_SYRK (
uplo IN flag,
trans IN flag,
n IN POSITIVEN,
k IN POSITIVEN,
alpha IN SCALAR_FLOAT,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
beta IN SCALAR_FLOAT,
c IN OUT UTL_NLA_ARRAY_DBL,
ldc IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 30 BLAS_SYRK Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the upper or lower triangular part of the array
|
trans |
Specifies the operations to be performed:
|
n |
Specifies the order of matrix C. n must be at least zero. |
k |
On entry with trans = 'N' or 'n', k specifies the number of columns of the matrix A. On entry with trans = 'T' or 't' or trans = 'C' or 'c', k specifies the number of rows of the matrix A. k must be at least zero. |
alpha |
SCALAR_FLOAT/DOUBLE. Specifies the scalar alpha. |
a |
Before entry with |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. When trans = 'N' or 'n', lda must be at least max(1,n), otherwiselda must be at least max(1,k). |
beta |
SCALAR_FLOAT/DOUBLE. Specifies the scalar beta. |
| c |
Before entry with Before entry with |
ldc |
Specifies the first dimension of C as declared in the calling (sub) program. ldc must be at least max(1,n). |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_TBMV Procedures
This procedure performs the matrix-vector operations x := A*x or x := A'*x, where x is an n element vector and A is an n by n unit, or non-unit, upper or lower triangular band matrix, with (k+1) diagonals.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_TBMV (
uplo IN flag,
trans IN flag,
diag IN flag,
n IN POSITIVEN,
k IN NATURALN,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
x IN OUT UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_TBMV (
uplo IN flag,
trans IN flag,
diag IN flag,
n IN POSITIVEN,
k IN NATURALN,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
x IN OUT UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 31 BLAS_TBMV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the matrix is an upper or lower triangular matrix:
|
trans |
Specifies the operation to be performed:
|
diag |
Specifies whether or not
|
n |
Specifies the order of the matrix A. n must be at least zero. |
k |
Specifies whether or not
K must satisfy |
a |
Before entry with Before entry with Note that when |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. lda must be at least (k+1). |
x |
UTL_NLA_ARRAY_FLT/DBL of dimension at least (1+(n-1)*abs(incx)). Before entry, the incremented array X must contain the n element vector x. On exit, X is overwritten with the transformed vector x. |
incx |
Specifies the increment for the elements of x. Must not be zero. |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_TBSV Procedures
This procedure solves one of the systems of equations A*x = b or A'*x = b, where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular band matrix, with (k+1) diagonals.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_TBSV (
uplo IN flag,
trans IN flag,
diag IN flag,
n IN POSITIVEN,
k IN NATURALN,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
x IN OUT UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_STBSV (
uplo IN flag,
trans IN flag,
diag IN flag,
n IN POSITIVEN,
k IN NATURALN,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
x IN OUT UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 32 BLAS_TBSV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the matrix is an upper or lower triangular matrix:
|
trans |
Specifies the equations to be solved:
|
diag |
Specifies whether or not
|
n |
Specifies the order of the matrix A. n must be at least zero. |
k |
Specifies whether or not
K must satisfy |
a |
Before entry with Before entry with Note that when |
lda |
On entry, lda specifies the first dimension of A as declared in the calling (sub) program. lda must be at least (k+1). |
x |
( 1 + ( Before entry, the incremented array On exit, |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
pack |
(Optional) Flags the packing of the matrices:
|
Usage Notes
No test for singularity or near-singularity is included in this routine. Such tests must be performed before calling this routine.
BLAS_TPMV Procedures
This procedure performs the matrix-vector operations x := A*x or x := A'*x, where x is an n element vector and A is an n by n unit, or non-unit, upper or lower triangular matrix, supplied in packed form.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_TPMV (
uplo IN flag,
trans IN flag,
diag IN flag,
n IN POSITIVEN,
ap IN UTL_NLA_ARRAY_DBL,
x IN OUT UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_TBMV (
uplo IN flag,
trans IN flag,
diag IN flag,
n IN POSITIVEN,
ap IN UTL_NLA_ARRAY_FLT,
x IN OUT UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 33 BLAS_TPMV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the matrix is an upper or lower triangular matrix:
|
trans |
Specifies the operation to e performed:
|
diag |
Specifies whether or not
|
n |
Specifies the order of the matrix A. n must be at least zero. |
ap |
Before entry with Before entry with Note that when |
x |
UTL_NLA_ARRAY_FLT/DBL of dimension at least (1+(n-1)*abs(incx)). Before entry, the incremented array X must contain the n element vector x. On exit, X is overwritten with the transformed vector x. |
incx |
Specifies the increment for the elements of x. Must not be zero. |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_TPSV Procedures
This procedure solves one of the systems of equations A*x = b or A'*x = b, where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular matrix, supplied in packed form.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_TPSV (
uplo IN flag,
trans IN flag,
diag IN flag,
n IN POSITIVEN,
ap IN UTL_NLA_ARRAY_DBL,
x IN OUT UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_TPSV (
uplo IN flag,
trans IN flag,
diag IN flag,
n IN POSITIVEN,
ap IN UTL_NLA_ARRAY_FLT,
x IN OUT UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 34 BLAS_TPSV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the matrix is an upper or lower triangular matrix:
|
trans |
Specifies the operation to be performed:
|
diag |
Specifies whether or not
|
n |
Specifies the order of the matrix A. n must be at least zero. |
ap |
((n*(n+1))/2) Before entry with Before entry with Note that when |
x |
( 1 + ( Before entry, the incremented array |
incx |
Specifies the increment for the elements of x. incx must not be zero. |
pack |
(Optional) Flags the packing of the matrices:
|
Usage Notes
No test for singularity or near-singularity is included in this routine. Such tests must be performed before calling this routine.
BLAS_TRMM Procedures
This procedure performs a matrix-matrix operation.
It performs one of the following matrix-matrix operations:
B := alpha*op( A )*B
or
B := alpha*B*op( A )
where alpha is a scalar, B is an m by n matrix, A is a unit, or non-unit, upper or lower triangular matrix and op(A) is one of
op( A ) = A
or
op( A ) = A'
See Also: BLAS Level 3 (Matrix-Matrix Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_TRMM (
side IN flag,
uplo IN flag,
transa IN flag,
diag IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
b IN OUT UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_TRMM (
side IN flag,
uplo IN flag,
transa IN flag,
diag IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
alpha IN SCALAR_FLOAT,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 35 BLAS_TRMM Procedure Parameters
| Parameter | Description |
|---|---|
side |
Specifies whether the symmetric matrix
|
uplo |
Specifies whether the upper or lower triangular part of the array
|
transa |
Specifies the form of
|
diag |
Specifies whether or not
|
m |
Specifies the number of rows of the B. m must be at least zero. |
n |
Specifies the number of columns of B. n must be at least zero. |
alpha |
SCALAR_FLOAT/DOUBLE. Specifies the scalar alpha. When alpha is zero then A is not referenced and B need not be set before entry. |
a |
Before entry with Before entry with Note that when |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. When side = 'L' or 'l', lda must be at least max(1,m), otherwise lda must be at least max(1,n). |
b |
Before entry, the leading |
ldb |
Specifies the first dimension of b as declared in the calling (sub) program. ldb must be at least max(1,m). |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_TRMV Procedures
This procedure performs the matrix-vector operations x := A*x or x := A'*x, where x is an n element vector and A is an n by n unit, or non-unit, upper or lower triangular matrix.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_TRMV (
uplo IN flag,
trans IN flag,
diag IN flag,
n IN POSITIVEN,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
x IN OUT UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_TRMV (
uplo IN flag,
trans IN flag,
diag IN flag,
n IN POSITIVEN,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
x IN OUT UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 36 BLAS_TRMV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the matrix is an upper or lower triangular matrix:
|
trans |
Specifies the operation to be performed:
|
diag |
Specifies whether or not
|
n |
Specifies the order of the matrix A. n must be at least zero. |
a |
Before entry with Before entry with Note that when |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. lda must be at least max(1,n). |
x |
UTL_NLA_ARRAY_FLT/DBL of dimension at least(1+(n-1)*as(incx)). Before entry, the incremented array X must contain the n element vector x. |
incx |
Specifies the increment for the elements of x. Must not be zero. |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_TRSM Procedures
This procedure performs a matrix-matrix operation.
It performs one of the matrix-matrix operations:
op( A )*X = alpha*B
or
X*op( A ) = alpha*B
where alpha is a scalar, X and B are m by n matrices, A is a unit, or non-unit, upper or lower triangular matrix and op(A) is one of
op( A ) = A
or
op( A ) = A'
The matrix X is overwritten on B.
See Also: BLAS Level 3 (Matrix-Matrix Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_TRSM (
side IN flag,
uplo IN flag,
transa IN flag,
diag IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
alpha IN SCALAR_DOUBLE,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
b IN OUT UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_TRSM (
side IN flag,
uplo IN flag,
transa IN flag,
diag IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
alpha IN SCALAR_FLOAT,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 37 BLAS_TRSM Procedure Parameters
| Parameter | Description |
|---|---|
side |
Specifies whether the symmetric matrix
|
uplo |
Specifies whether the upper or lower triangular part of the array
|
transa |
Specifies the form of
|
diag |
Specifies whether or not
|
m |
Specifies the number of rows of the B. m must be at least zero. |
n |
Specifies the number of columns of B. n must be at least zero. |
alpha |
SCALAR_FLOAT/DOUBLE. Specifies the scalar alpha. When alpha is zero then A is not referenced and B need not be set before entry. |
a |
Before entry with Before entry with Note that when |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. When side = 'L' or 'l', lda must be at least max(1, m), otherwise lda must be at least max (1, n). |
b |
Before entry, the leading |
ldb |
Specifies the first dimension of b as declared in the calling (sub) program. ldb must be at least max(1, m). |
pack |
(Optional) Flags the packing of the matrices:
|
BLAS_TRSV Procedures
This procedure solves one of the systems of equations A*x = b or A'*x = b, where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular matrix.
See Also: BLAS Level 2 (Matrix-Vector Operations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.BLAS_TRSV (
uplo IN flag,
trans IN flag,
diag IN flag,
n IN POSITIVEN,
a IN UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
x IN OUT UTL_NLA_ARRAY_DBL,
incx IN POSITIVEN,
pack IN flag DEFAULT 'C');
UTL_NLA.BLAS_TRSV (
uplo IN flag,
trans IN flag,
diag IN flag,
n IN POSITIVEN,
a IN UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
x IN OUT UTL_NLA_ARRAY_FLT,
incx IN POSITIVEN,
pack IN flag DEFAULT 'C');
Parameters
Table 38 BLAS_TRSV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
Specifies whether the matrix is an upper or lower triangular matrix:
|
trans |
Specifies the operation to be performed:
|
diag |
Specifies whether or not
|
n |
Specifies the order of the matrix A. n must be at least zero. |
a |
Before entry with Before entry with Note that when |
lda |
Specifies the first dimension of A as declared in the calling (sub) program. lda must be at least max(1, n). |
x |
(1 + (n - 1) * abs (incx)) Before entry, the incremented array |
incx |
Specifies the increment for the elements of x. Must not be zero. |
pack |
(Optional) Flags the packing of the matrices:
|
Usage Notes
No test for singularity or near-singularity is included in this routine. Such tests must be performed before calling this routine.
LAPACK_GBSV Procedures
This procedure computes the solution to a real system of linear equations a * x = b, where a is a band matrix of order n with kl sub diagonals and ku superdiagonals, and x and b are n by nrhs matrices.
The LU decomposition with partial pivoting and row interchanges is used to factor A as
a = L * U
where L is a product of permutation and unit lower triangular matrices with kl sub diagonals, and U is upper triangular with kl+ku superdiagonals. The factored form of a is then used to solve the system of equations
a * x = b
See Also: LAPACK Driver Routines (Linear Equations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_GBSV (
n IN POSITIVEN,
kl IN NATURALN,
ku IN NATURALN,
nrhs IN POSITIVEN,
ab IN OUT UTL_NLA_ARRAY_DBL,
ldab IN POSITIVEN,
ipiv IN OUT UTL_NLA_ARRAY_INT,
b IN OUT UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_GBSV (
n IN POSITIVEN,
kl IN NATURALN,
ku IN NATURALN,
nrhs IN POSITIVEN,
ab IN OUT UTL_NLA_ARRAY_FLT,
ldab IN POSITIVEN,
ipiv IN OUT UTL_NLA_ARRAY_INT,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 39 LAPACK_GBSV Procedure Parameters
| Parameter | Description |
|---|---|
n |
The number of linear equations, equivalent to the order of the matrixa .n >= 0 |
kl |
The number of sub diagonals within the band of a. kl >= 0. |
ku |
The number of superdiagonals within the band of a . ku >= 0. |
nrhs |
The number of right-hand sides, which is the number of columns of the matrix b. nrhs >= 0. |
ab |
On entry, the matrix a in band storage, in rows
On exit, details of the factorization:
|
ldab |
The leading dimension of the array ab.
|
ipiv |
The pivot indices that define the permutation matrix |
b |
On entry, the On exit, if |
ldb |
The leading dimension of the array b.
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_GEES Procedures
This procedure computes for an n by n real nonsymmetric matrix A, the eigenvalues, the real Schur form T, and, optionally, the matrix of Schur vectors Z.
This gives the Schur factorization A = Z*T*(Z**T).
A matrix is in real Schur form if it is upper quasi-triangular with 1 by 1 and 2 by 2 blocks. 2 by 2 blocks will be standardized in the form
[ a b ]
[ c a ]
where b*c < 0. The eigenvalues of such a block are a +- sqrt(bc).
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_GEES (
jobvs IN flag,
n IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
wr IN OUT UTL_NLA_ARRAY_DBL,
wi IN OUT UTL_NLA_ARRAY_DBL,
vs IN OUT UTL_NLA_ARRAY_DBL,
ldvs IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_GEES (
jobvs IN flag,
n IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
wr IN OUT UTL_NLA_ARRAY_FLT,
wi IN OUT UTL_NLA_ARRAY_FLT,
vs IN OUT UTL_NLA_ARRAY_FLT,
ldvs IN POSITIVEN,
info OUT integer,
pack IN flag DEFAULT 'C');
Parameters
Table 40 LAPACK_GEES Procedure Parameters
| Parameter | Description |
|---|---|
jobz |
|
n |
The order of the matrix a. N >= 0. |
| a |
|
lda |
The leading dimension of the array a. lda >= max(1,n). |
wr |
|
wi |
|
vs |
|
ldvs |
The leading dimension of the array vs. VS. ldvs >= 1. If jobvs = 'V', ldvs >= N |
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_GELS Procedures
This procedure solves overdetermined or underdetermined real linear systems involving an m by n matrix A, or its transpose, using a QR or LQ factorization of A. It is assumed that A has full rank.
The following options are provided:
- If
TRANS = 'N'andm >= n: find the least squares solution of an overdetermined system, that is, solve the least squares problem.
minimize || B - A*X ||
-
If
TRANS = 'N'andm < n: find the minimum norm solution of an underdetermined systemA * X = B. -
If
TRANS = 'T'andm >= n: find the minimum norm solution of an undetermined systemA**T * X = B. -
If
TRANS = 'T'andm < n: find the least squares solution of an overdetermined system, that is, solve the least squares problemminimize || B - A**T * X ||.
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_GELS (
trans IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
nrhs IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
b IN OUT UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_GELS (
trans IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
nrhs IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 41 LAPACK_GELS Procedure Parameters
| Parameter | Description |
|---|---|
trans |
|
m |
The number of rows of the matrix a. M >= 0. |
n |
The number of columns of the matrix a. N >= 0. |
nrhs |
The number of right-hand sides, which is the number of columns of the matrix band x.nrhs >= 0. |
a |
On entry, the matrix On exit, if |
lda |
The leading dimension of the array A. lda >= max(1,m). |
b |
On entry, the matrix On exit,
|
ldb |
The leading dimension of the array
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_GESDD Procedures
This procedures computes the singular value decomposition (SVD) of a real m by n matrix A, optionally computing the left and right singular vectors. If singular vectors are desired, it uses a divide-and-conquer algorithm that makes mild assumptions about floating point arithmetic.
The SVD is written
A = U * SIGMA * transpose(V)
where SIGMA is an m by n matrix which is zero except for its min(m,n) diagonal elements, U is anm by m orthogonal matrix, and V is ann by n orthogonal matrix. The diagonal elements of SIGMA are the singular values of A, they are real and non-negative, and are returned in descending order. The first min(m,n) columns of U and V are the left and right singular vectors of A.
Note that the routine returns V**T, not V.
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_GESDD (
jobz IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
s IN OUT UTL_NLA_ARRAY_DBL,
u IN OUT UTL_NLA_ARRAY_DBL,
ldu IN POSITIVEN,
vt IN OUT UTL_NLA_ARRAY_DBL,
ldvt IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_GESDD (
jobz IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
s IN OUT UTL_NLA_ARRAY_FLT,
u IN OUT UTL_NLA_ARRAY_FLT,
ldu IN POSITIVEN,
vt IN OUT UTL_NLA_ARRAY_FLT,
ldvt IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 42 LAPACK_GESDD Procedure Parameters
| Parameter | Description |
|---|---|
jobz |
Specifies options for computing all or part of the matrix
|
m |
The order of the matrix a. m >= 0. |
n |
The order of the matrix a. n >= 0. |
a |
On entry, the On exit:
|
lda |
The leading dimension of the array a. lda >= max(1,m). |
s |
The singular values of |
u |
|
ldu |
The leading dimension of the array U. ldu >= 1. If jobz = 'S' or 'A',or jobz = 'O' and m < n, ldu >= m. |
vt |
|
ldvt |
The leading dimension of the array
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_GESV Procedure
This procedure computes the solution to a real system of linear equations a * x = b, where a is an n by n matrix and x and b are n by nrhs matrices.
The LU decomposition with partial pivoting and row interchanges is used to factor A as
a = P * L * U
where P is a permutation matrix, L is unit lower triangular, and U is upper triangular. The factored form of a is then used to solve the system of equations
a * x = b
See Also: LAPACK Driver Routines (Linear Equations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_GESV (
n IN POSITIVEN,
nrhs IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
ipiv IN OUT UTL_NLA_ARRAY_INT,
b IN OUT UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_GESV (
n IN POSITIVEN,
nrhs IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
ipiv IN OUT UTL_NLA_ARRAY_INT,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 43 LAPACK_GESV Procedure Parameters
| Parameter | Description |
|---|---|
n |
The number of linear equations, equivalent to the order of the matrix a. n >= 0 |
nrhs |
The number of right-hand sides, which is the number of columns of the matrix b. nrhs >= 0. |
a |
On entry, the On exit, the factors |
lda |
The leading dimension of the array a.
|
ipiv |
The pivot indices that define the permutation matrix |
b |
On entry, the On exit, if |
ldb |
The leading dimension of the array
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_GESVD Procedures
This procedures computes the singular value decomposition (SVD) of a real m by n matrix A, optionally computing the left and/or right singular vectors.
The SVD is written
A = U * SIGMA * transpose(V)
where SIGMA is an m by n matrix which is zero except for its min(m,n) diagonal elements, U is anm by m orthogonal matrix, and V is ann by n orthogonal matrix. The diagonal elements of SIGMA are the singular values of A, they are real and non-negative, and are returned in descending order. The first min(m,n) columns of U and V are the left and right singular vectors of A.
Note that the routine returns V**T, not V.
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_GESVD (
jobu IN flag,
jobvt IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
s IN OUT UTL_NLA_ARRAY_DBL,
u IN OUT UTL_NLA_ARRAY_DBL,
ldu IN POSITIVEN,
vt IN OUT UTL_NLA_ARRAY_DBL,
ldvt IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_GESVD (
jobu IN flag,
jobvt IN flag,
m IN POSITIVEN,
n IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
s IN OUT UTL_NLA_ARRAY_FLT,
u IN OUT UTL_NLA_ARRAY_FLT,
ldu IN POSITIVEN,
vt IN OUT UTL_NLA_ARRAY_FLT,
ldvt IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 44 LAPACK_GESVD Procedure Parameters
| Parameter | Description |
|---|---|
jobu |
Specifies options for computing all or part of the matrix
|
jobvt |
Specifies options for computing all or part of the matrix
|
m |
The order of the matrix a. M >= 0. |
n |
The order of the matrix a. N >= 0. |
a |
On entry, the On exit:
|
lda |
The leading dimension of the array a. lda >= max(1,n). |
s |
The singular values of |
u |
|
ldu |
The leading dimension of the array U. ldu >= 1. If jobu = 'S' or ‘a', ldu >= m. |
vt |
|
ldvt |
The leading dimension of the array
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_GEEV Procedures
This procedures computes for an n by n real nonsymmetric matrix A, the eigenvalues and, optionally, the left and/or right eigenvectors.
-
The right eigenvector
v(j)ofAsatisfiesA * v(j) = lambda(j) * v(j)wherelambda(j)is its eigenvalue. -
The left eigenvector
u(j)ofAsatisfiesu(j)**H * A = lambda(j) * u(j)**Hwhereu(j)**Hdenotes the conjugate transpose ofu(j).
The computed eigenvectors are normalized to have Euclidean norm equal to 1 and largest component real.
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_GEEV (
jobvl IN flag,
jobvr IN flag,
n IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
wr IN OUT UTL_NLA_ARRAY_DBL,
wi IN OUT UTL_NLA_ARRAY_DBL,
vl IN OUT UTL_NLA_ARRAY_DBL,
ldvl IN POSITIVEN,
vr IN OUT UTL_NLA_ARRAY_DBL,
ldvr IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_GEEV (
jobvl IN flag,
jobvr IN flag,
n IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
wr IN OUT UTL_NLA_ARRAY_FLT,
wi IN OUT UTL_NLA_ARRAY_FLT,
vl IN OUT UTL_NLA_ARRAY_FLT,
ldvl IN POSITIVEN,
vr IN OUT UTL_NLA_ARRAY_FLT,
ldvr IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 45 LAPACK_GEEV Procedure Parameters
| Parameter | Description |
|---|---|
jobvl |
|
jobvr |
|
n |
The order of the matrix a. N >= 0. |
a |
|
lda |
The leading dimension of the array a. lda >= max(1,n). |
wr |
|
wi |
|
vl |
|
ldv1 |
The leading dimension of the array vl. ldvl >= 1. If jobvl = 'v', ldvl >= n. |
vr |
|
ldvr |
The leading dimension of the array vr. vr.ldvr >= 1. If jobvr = 'V', ldvr >= N |
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_GTSV Procedure
This procedure solves the equation a * x = b, where a is an n by n tridiagonal matrix, by Gaussian elimination with partial pivoting.
Note that the equation a'*x = b may be solved by interchanging the order of the arguments du and dl.
See Also: LAPACK Driver Routines (Linear Equations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_GTSV (
n IN POSITIVEN,
nrhs IN POSITIVEN,
dl IN OUT UTL_NLA_ARRAY_DBL,
d IN OUT UTL_NLA_ARRAY_DBL,
du IN OUT UTL_NLA_ARRAY_DBL,
b IN OUT UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_GTSV (
n IN POSITIVEN,
nrhs IN POSITIVEN,
dl IN OUT UTL_NLA_ARRAY_FLT,
d IN OUT UTL_NLA_ARRAY_FLT,
du IN OUT UTL_NLA_ARRAY_FLT,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 46 LAPACK_GTSV Procedure Parameters
| Parameter | Description |
|---|---|
n |
The order of the matrix a .n >= 0 |
nrhs |
The number of right-hand sides, which is the number of columns of the matrix b. nrhs >= 0. |
dl |
On entry, On exit, |
d |
On entry, On exit, |
du |
On entry, On exit, |
b |
On entry, the On exit, if |
ldb |
The leading dimension of the array b.
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_PBSV Procedures
This procedure computes the solution to a real system of linear equations a * x = b, where a is an n by n symmetric positive definite band matrix and x and b are n by nrhs matrices.
The Cholesky decomposition is used to factor A as
A = U**T*U if UPLO ='U'
or
A = L * L**T if UPLO = 'L'
where U is an upper triangular matrix and L is a lower triangular matrix. The factored form of A is then used to solve the system of equations A * X = B.
See Also: LAPACK Driver Routines (Linear Equations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_PBSV (
uplo IN flag,
n IN POSITIVEN,
kd IN NATURALN,
nrhs IN POSITIVEN,
ab IN OUT UTL_NLA_ARRAY_DBL,
ldab IN POSITIVEN,
b IN OUT UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_PBSV (
uplo IN flag,
n IN POSITIVEN,
kd IN NATURALN,
nrhs IN POSITIVEN,
ab IN OUT UTL_NLA_ARRAY_FLT,
ldab IN POSITIVEN,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 47 LAPACK_PBSV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
|
n |
The number of linear equations, that is, the order of the matrix a .n >= 0 |
kd |
The number of superdiagonals of the matrix A if uplo = 'U', or the number of subdiagonals if UPLO = 'L'. KD >= 0. |
nrhs |
The number of right-hand sides, which is the number of columns of the matrix b. nrhs >= 0. |
ab |
On entry, the upper or lower triangle of the symmetric band matrix
.See below for further details.On exit, if |
ldab |
The leading dimension of the array
|
b |
On entry, the On exit, if |
ldb |
The leading dimension of the array
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_POSV Procedures
This procedure computes the solution to a real system of linear equations a * x = b, where a is an n by n symmetric positive definite matrix and x and b are n by nrhs matrices.
The Cholesky decomposition is used to factor A as
A = U**T* U if uplo = 'U'
or
A = L * L**T if UPLO = 'L'
where U is an upper triangular matrix and L is a lower triangular matrix. The factored form of A is then used to solve the system of equations A * X = B.
See Also: LAPACK Driver Routines (Linear Equations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_POSV (
uplo IN flag,
n IN POSITIVEN,
nrhs IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
b IN OUT UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_POSV (
uplo IN flag,
n IN POSITIVEN,
nrhs IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 48 LAPACK_POSV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
|
n |
The number of linear equations, that is, the order of the matrix a .n >= 0 |
nrhs |
The number of right-hand sides, which is the number of columns of the matrix b. nrhs >= 0. |
a |
If If On exit, if |
lda |
The leading dimension of the array a.
|
b |
On entry, the On exit, if |
ldb |
The leading dimension of the array b.
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_PPSV Procedures
This procedure computes the solution to a real system of linear equations a * x = b where a is an n by n symmetric positive definite matrix stored in packed format and x and b are n by nrhs matrices.
The Cholesky decomposition is used to factor A as
A = U**T* U if UPLO = 'U'
or
A = L * L**T if UPLO = 'L'
where U is an upper triangular matrix and L is a lower triangular matrix. The factored form of A is then used to solve the system of equations A * X = B.
See Also: LAPACK Driver Routines (Linear Equations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_PPSV (
uplo IN flag,
n IN POSITIVEN,
nrhs IN POSITIVEN,
ap IN OUT UTL_NLA_ARRAY_DBL,
b IN OUT UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_PPSV (
uplo IN flag,
n IN POSITIVEN,
nrhs IN POSITIVEN,
ap IN OUT UTL_NLA_ARRAY_FLT,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 49 LAPACK_PPSV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
|
n |
The number of linear equations, that is, the order of the matrix a .n >= 0 |
nrhs |
The number of right-hand sides, which is the number of columns of the matrix b. nrhs >= 0. |
ap |
On entry, the upper or lower triangle of the symmetric matrix If If On exit, if |
b |
On entry, the On exit, if |
ldb |
The leading dimension of the array b.
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_PTSV Procedures
This procedure computes the solution to a real system of linear equations a * x = b, where a is an n by n symmetric positive definite tridiagonal matrix, and x and b are n by nrhs matrices.
a is factored as A = L*D*L**T, and the factored form of a is then used to solve the system of equations.
See Also: LAPACK Driver Routines (Linear Equations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_PTSV (
n IN POSITIVEN,
nrhs IN POSITIVEN,
d IN OUT UTL_NLA_ARRAY_DBL,
e IN OUT UTL_NLA_ARRAY_DBL,
b IN OUT UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_PTSV (
n IN POSITIVEN,
nrhs IN POSITIVEN,
d IN OUT UTL_NLA_ARRAY_FLT,
e IN OUT UTL_NLA_ARRAY_FLT,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 50 LAPACK_PTSV Procedure Parameters
| Parameter | Description |
|---|---|
n |
The order of the matrix a. N >= 0. |
nrhs |
The number of right-hand sides, which is the number of columns of the matrix b. nrhs >= 0. |
d |
On entry, the On exit, the |
e |
On entry, the On exit, the |
b |
On entry, the On exit, if |
ldb |
The leading dimension of the array
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_SBEV Procedures
This procedure computes all the eigenvalues and, optionally, eigenvectors of a real symmetric band matrix A.
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_SBEV (
jobz IN flag,
uplo IN flag,
n IN POSITIVEN,
kd IN NATURALN,
ab IN OUT UTL_NLA_ARRAY_DBL,
ldab IN POSITIVEN,
w IN OUT UTL_NLA_ARRAY_DBL,
z IN OUT UTL_NLA_ARRAY_DBL,
ldz IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_SBEV (
jobz IN flag,
uplo IN flag,
n IN POSITIVEN,
kd IN NATURALN,
ab IN OUT UTL_NLA_ARRAY_FLT,
ldab IN POSITIVEN,
w IN OUT UTL_NLA_ARRAY_FLT,
z IN OUT UTL_NLA_ARRAY_FLT,
ldz IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 51 LAPACK_SBEV Procedure Parameters
| Parameter | Description |
|---|---|
jobz |
|
uplo |
|
n |
The order of the matrix a. N >= 0. |
kd |
The number of superdiagonals of the matrix A if uplo = 'U', or the number of subdiagonals if uplo = 'L'. kd >= 0. |
ab |
On entry, the upper or lower triangle of the symmetric band matrix
On exit,
|
ldab |
The leading dimension of the array ab. ldab >= kd + 1. |
w |
If |
z |
|
ldz |
The leading dimension of the array z. ldz >= 1, and if jobz = 'v', ldz >= max(1,n). |
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_SBEVD Procedures
This procedure computes all the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A. If eigenvectors are desired, it uses a divide and conquer algorithm that makes mild assumptions about floating point arithmetic.
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_SBEVD (
jobz IN flag,
uplo IN flag,
n IN POSITIVEN,
kd IN NATURALN,
ab IN OUT UTL_NLA_ARRAY_DBL,
ldab IN POSITIVEN,
w IN OUT UTL_NLA_ARRAY_DBL,
z IN OUT UTL_NLA_ARRAY_DBL,
ldz IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_SBEVD (
jobz IN flag,
uplo IN flag,
n IN POSITIVEN,
kd IN NATURALN,
ab IN OUT UTL_NLA_ARRAY_FLT,
ldab IN POSITIVEN,
w IN OUT UTL_NLA_ARRAY_FLT,
z IN OUT UTL_NLA_ARRAY_FLT,
ldz IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 52 LAPACK_SBEVD Procedure Parameters
| Parameter | Description |
|---|---|
jobz |
|
uplo |
|
n |
The order of the matrix a. N >= 0. |
kd |
The number of superdiagonals of the matrix A if uplo = 'U', or the number of subdiagonals if uplo = 'L'. kd >= 0. |
ab |
On entry, the upper or lower triangle of the symmetric band matrix
On exit,
|
ldab |
The leading dimension of the array ab. ldab >= kd + 1. |
w |
If |
z |
|
ldz |
The leading dimension of the array z. ldz >= 1, and if jobz = 'v', ldz >= max(1,n). |
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_SPEV Procedures
This procedure computes all the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A in packed storage.
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_SPEV (
jobz IN flag,
uplo IN flag,
n IN POSITIVEN,
ap IN OUT UTL_NLA_ARRAY_DBL,
w IN OUT UTL_NLA_ARRAY_DBL,
z IN OUT UTL_NLA_ARRAY_DBL,
ldz IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_SPEV (
jobz IN flag,
uplo IN flag,
n IN POSITIVEN,
ap IN OUT UTL_NLA_ARRAY_FLT,
w IN OUT UTL_NLA_ARRAY_FLT,
z IN OUT UTL_NLA_ARRAY_FLT,
ldz IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 53 LAPACK_SPEV Procedure Parameters
| Parameter | Description |
|---|---|
jobz |
|
uplo |
|
n |
The order of the matrix a. N >= 0. |
ap |
On entry, the upper or lower triangle of the symmetric matrix
On exit,
|
w |
If |
z |
|
ldz |
The leading dimension of the array z. ldz >= 1, and if jobz = 'v', ldz >= max(1,n). |
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_SPEVD Procedures
This procedure computes all the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A in packed storage. If eigenvectors are desired, it uses a divide and conquer algorithm. The divide and conquer algorithm makes very mild assumptions about floating point arithmetic.
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_SPEVD (
jobz IN flag,
uplo IN flag,
n IN POSITIVEN,
ap IN OUT UTL_NLA_ARRAY_DBL,
w IN OUT UTL_NLA_ARRAY_DBL,
z IN OUT UTL_NLA_ARRAY_DBL,
ldz IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_SPEVD (
jobz IN flag,
uplo IN flag,
n IN POSITIVEN,
ap IN OUT UTL_NLA_ARRAY_FLT,
w IN OUT UTL_NLA_ARRAY_FLT,
z IN OUT UTL_NLA_ARRAY_FLT,
ldz IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 54 LAPACK_SPEVD Procedure Parameters
| Parameter | Description |
|---|---|
jobz |
|
uplo |
|
n |
The order of the matrix a. N >= 0. |
ap |
On entry, the upper or lower triangle of the symmetric matrix
On exit,
|
w |
If |
z |
|
ldz |
The leading dimension of the array z. ldz >= 1, and if jobz = 'v', ldz >= max(1,n). |
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_SPSV Procedures
This procedure computes the solution to a real system of linear equations a * x = b, where a is an n by n symmetric matrix stored in packed format, and x and b are n by nrhs matrices.
The diagonal pivoting method is used to factor A as
A = U * D * U**T, if UPLO = 'U'
or
A = L * D * L**T, if UPLO = 'L'
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and D is symmetric and block diagonal with 1 by 1 and 2 by 2 diagonal blocks. The factored form of A is then used to solve the system of equations A * X = B.
See Also: LAPACK Driver Routines (Linear Equations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_SPSV (
uplo IN flag,
n IN POSITIVEN,
nrhs IN POSITIVEN,
ap IN OUT UTL_NLA_ARRAY_DBL,
ipiv IN OUT UTL_NLA_ARRAY_INT,
b IN OUT UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_SPSV (
uplo IN flag,
n IN POSITIVEN,
nrhs IN POSITIVEN,
ap IN OUT UTL_NLA_ARRAY_FLT,
ipiv IN OUT UTL_NLA_ARRAY_INT,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 55 LAPACK_SPSV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
|
n |
The number of linear equations, which is the order of the matrix a. N >= 0. |
nrhs |
The number of right-hand sides, which is the number of columns of the matrix b. nrhs >= 0. |
ap |
On entry, the upper or lower triangle of the symmetric matrix
See below for further details. On exit, the block diagonal matrix |
ipiv |
Details of the interchanges and the block structure of
|
b |
On entry, the On exit, if |
ldb |
The leading dimension of the array
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_STEV Procedures
This procedure computes all eigenvalues and, optionally, eigenvectors of a real symmetric tridiagonal matrix A.
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_STEV (
jobz IN flag,
n IN POSITIVEN,
d IN OUT UTL_NLA_ARRAY_DBL,
e IN OUT UTL_NLA_ARRAY_DBL,
z IN OUT UTL_NLA_ARRAY_DBL,
ldz IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_STEV (
jobz IN flag,
n IN POSITIVEN,
d IN OUT UTL_NLA_ARRAY_FLT,
e IN OUT UTL_NLA_ARRAY_FLT,
z IN OUT UTL_NLA_ARRAY_FLT,
ldz IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 56 LAPACK_STEV Procedure Parameters
| Parameter | Description |
|---|---|
jobz |
|
n |
The order of the matrix a. N >= 0. |
d |
|
| e |
|
z |
|
ldz |
The leading dimension of the array z. ldz >= 1, and if jobz = 'v', ldz >= max(1,n). |
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_STEVD Procedures
This procedure computes all eigenvalues and, optionally, eigenvectors of a real symmetric tridiagonal matrix. If eigenvectors are desired, it uses a divide and conquer algorithm that makes mild assumptions about floating point arithmetic.
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_STEVD (
jobz IN flag,
n IN POSITIVEN,
d IN OUT UTL_NLA_ARRAY_DBL,
e IN OUT UTL_NLA_ARRAY_DBL,
z IN OUT UTL_NLA_ARRAY_DBL,
ldz IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_STEVD(
jobz IN flag,
n IN POSITIVEN,
d IN OUT UTL_NLA_ARRAY_FLT,
e IN OUT UTL_NLA_ARRAY_FLT,
z IN OUT UTL_NLA_ARRAY_FLT,
ldz IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 57 LAPACK_STEVD Procedure Parameters
| Parameter | Description |
|---|---|
jobz |
|
n |
The order of the matrix a. N >= 0. |
d |
|
| e |
|
z |
|
ldz |
The leading dimension of the array z. ldz >= 1, and if jobz = 'v', ldz >= max(1,n). |
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_SYEV Procedures
This procedure computes all eigenvalues and, optionally, eigenvectors of a real symmetric matrix A.
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_SYEV (
jobz IN flag,
uplo IN flag,
n IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
w IN OUT UTL_NLA_ARRAY_DBL,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_SYEV (
jobz IN flag,
uplo IN flag,
n IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
w IN OUT UTL_NLA_ARRAY_FLT,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 58 LAPACK_SYEV Procedure Parameters
| Paramete | Description |
|---|---|
jobz |
|
uplo |
|
n |
The order of the matrix a. N >= 0. |
a |
On entry, the symmetric matrix
On exit:
|
lda |
The leading dimension of the array a. lda >= max(1,n). |
w |
If |
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_SYEVD Procedures
This procedure computes all eigenvalues and, optionally, eigenvectors of a real symmetric matrix A. If eigenvectors are desired, it uses a divide and conquer algorithm that makes mild assumptions about floating point arithmetic.
See Also: LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_SYEVD (
jobz IN flag,
uplo IN flag,
n IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
w IN OUT UTL_NLA_ARRAY_DBL,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_SYEVD (
jobz IN flag,
uplo IN flag,
n IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
w IN OUT UTL_NLA_ARRAY_FLT,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 59 LAPACK_SYEVD Procedure Parameters
| Parameter | Description |
|---|---|
jobz |
|
uplo |
|
n |
The order of the matrix a. N >= 0. |
a |
On entry, the symmetric matrix
On exit:
|
lda |
The leading dimension of the array a. lda >= max(1,n). |
w |
If |
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
LAPACK_SYSV Procedures
This procedure computes the solution to a real system of linear equations a * x = b, where a is an n by n symmetric matrix, and x and b are n by nrhs matrices.
The diagonal pivoting method is used to factor A as
A = U * D * U**T, if UPLO = 'U'
or
A = L * D * L**T, if UPLO = 'L'
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and D is symmetric and block diagonal with 1 by 1 and 2 by 2 diagonal blocks. The factored form of A is then used to solve the system of equations A * X = B.
See Also: LAPACK Driver Routines (Linear Equations) Subprograms for other subprograms in this group
Syntax
UTL_NLA.LAPACK_SYSV (
uplo IN flag,
n IN POSITIVEN,
nrhs IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_DBL,
lda IN POSITIVEN,
ipiv IN OUT UTL_NLA_ARRAY_INT,
b IN OUT UTL_NLA_ARRAY_DBL,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
UTL_NLA.LAPACK_SYSV (
uplo IN flag,
n IN POSITIVEN,
nrhs IN POSITIVEN,
a IN OUT UTL_NLA_ARRAY_FLT,
lda IN POSITIVEN,
ipiv IN OUT UTL_NLA_ARRAY_INT,
b IN OUT UTL_NLA_ARRAY_FLT,
ldb IN POSITIVEN,
info OUT INTEGER,
pack IN flag DEFAULT 'C');
Parameters
Table 60 LAPACK_SYSV Procedure Parameters
| Parameter | Description |
|---|---|
uplo |
|
n |
The number of linear equations, which is the order of the matrix a. N >= 0. |
nrhs |
The number of right-hand sides, which is the number of columns of the matrix b. nrhs >= 0. |
a |
On entry, the symmetric matrix On exit, if |
lda |
The leading dimension of the array
|
ipiv |
Details of the interchanges and the block structure of
|
b |
On entry, the On exit, if |
ldb |
The leading dimension of the array
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|