Oracle® Database PL/SQL Packages and Types Reference 11g Release 1 (11.1) Part Number B28419-01 |
|
|
View PDF |
The UTL_NLA
package exposes a subset of the BLAS and LAPACK (Version 3.0) operations on vectors and matrices represented as VARRAY
s.
This chapter contains the following topics:
Overview
Rules and Limits
BLAS Level 1 (Vector-Vector Operations) Subprograms
BLAS Level 2 (Matrix-Vector Operations) Subprograms
BLAS Level 3 (Matrix-Matrix Operations) Subprograms
LAPACK Driver Routines (Linear Equations) Subprograms
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms
This section contains topics which relate to using the UTL_NLA
package.
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 VARRAY
s.
Standards
For more information on the BLAS and LAPACK standards see
http://www.netlib.org/blas/
http://www.netlib.org/lapack/
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, theBLAS_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. The UTL_NLA
package 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.
Vectors and matrices are stored in VARRAY
s 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.
Table 213-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 |
Table 213-2 BLAS Level 2 (Matrix-Vector Operations) Subprograms
Subprogram | Description |
---|---|
BLAS_GBMV Procedures |
Performs the matrix-vector operation 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 |
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 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 |
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 |
Table 213-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*C 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_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 |
Table 213-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 . |
Table 213-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. |
Table 213-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*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 |
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 |
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 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 |
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 1 + ( n - 1 )*abs( incx ) ) |
incx |
Specifies the increment for the elements of x . incx must not be zero. |
This procedure copies alpha
*X
+ Y
into vector Y
.
See Also:
BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 1 + ( n - 1 )*abs( incx ) ) |
incx |
Specifies the increment for the elements of x . incx must not be zero. |
y |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION at least
( 1 + ( n - 1 )*abs( incy) ) |
incy |
Specifies the increment for the elements of y . incy must not be zero. |
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 1 + ( n - 1 )*abs( incx ) ) |
incx |
Specifies the increment for the elements of x . incx must not be zero. |
y |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 1 + ( n - 1 )*abs( incy) ) |
incy |
Specifies the increment for the elements of y . incy must not be zero. |
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 1 + ( n - 1 )*abs( incx ) ) |
incx |
Specifies the increment for the elements of x . incx must not be zero. |
y |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 1 + ( n - 1 )*abs( incy) ) |
incy |
Specifies the increment for the elements of y . incy must not be zero. |
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 groupSyntax
UTL_NLA.BLAS_GEMV ( 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_GEMV ( 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 213-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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda,n) .
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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 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:
|
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 groupSyntax
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 213-12 BLAS_GEMM Procedure Parameters
Parameter | Description |
---|---|
transa |
Specifies the form of op(A) to be used in the matrix multiplication as follows:
|
transb |
Specifies the form of op (B) to be used in the matrix multiplication as follows:
|
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 (alpha*op(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:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 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:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda , n ).
Before entry, the leading |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. lda must be at least
max( 1, m ) |
pack |
(Optional) Flags the packing of the matrices:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION at least
( 1 + ( n - 1 )*abs( incx ) ) |
incx |
Specifies the increment for the elements of x . incx must not be zero. |
This function computes the vector 2-norm (Euclidean norm).
See Also:
BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 1 + ( n - 1 )*abs( incx ) ) |
incx |
Specifies the increment for the elements of x . incx must not be zero. |
This procedure returns the plane rotation of points.
See Also:
BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
(1+(n-1)* abs(incx)) |
incx |
Specifies the increment for the elements of x . incx must not be zero. |
y |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION at least
(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. |
This procedure returns the Givens rotation of points.
See Also:
BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this groupSyntax
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 213-18 BLAS_ROT G 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. |
This procedure scales a vector by a constant.
See Also:
BLAS Level 1 (Vector-Vector Operations) Subprograms for other subprograms in this groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
(1+(n-1)*abs(incx)) |
incx |
Specifies the increment for the elements of x . incx must not be zero. |
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 groupSyntax
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 213-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 AP :
|
n |
Specifies the order of the matrix A . n must be at least zero. |
alpha |
SCALAR_FLOAT /DOUBLE . Specifies the scalar alpha. |
ap |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
((n*(n+1))/2) Before entry with Before entry with |
x |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
(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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at leasT
(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:
|
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 groupSyntax
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 213-21 BLAS_SPR Procedure Parameters
Parameter | Description |
---|---|
uplo |
Specifies whether the upper or lower triangular part of the matrix A is supplied in the packed array ap :
|
n |
Specifies the order of the matrix A . n must be at least zero. |
alpha |
Specifies the scalar alpha. |
x |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
(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 p |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
((n*(n +1))/2) Before entry with Before entry with |
pack |
(Optional) Flags the packing of the matrices:
|
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 groupSyntax
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 213-22 BLAS_SPR2 Procedure Parameters
Parameter | Description |
---|---|
uplo |
Specifies whether the upper or lower triangular part of the matrix A is supplied in the packed array ap :
|
n |
Specifies the order of the matrix A . n must be at least zero. |
alpha |
Specifies the scalar alpha. |
x |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
(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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
(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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
((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:
|
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 groupSyntax
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 213-23 BLAS_SBMV Procedure Parameters
Parameter | Description |
---|---|
uplo |
Specifies whether the upper or lower triangular part of the band matrix A is being supplied:
|
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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda,n) .
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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
(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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
(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:
|
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
(1+(n-1)*abs(incx)) |
incx |
Specifies the increment for the elements of x . incx must not be zero. |
y |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION at least
(1+(n-1)*abs(incy)) |
incy |
Specifies the increment for the elements of y . incy must not be zero. |
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 groupSyntax
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 213-25 BLAS_SYMM Procedure Parameters
Parameter | Description |
---|---|
side |
Specifies whether the symmetric matrix A appears on the left or right in the operation:
|
uplo |
Specifies whether the upper or lower triangular part of the array A is to be referenced:
|
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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda,ka) where ka is m when side = 'L' or 'l' , and is n otherwise.
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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (ldb,n) .
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:
|
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 groupSyntax
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 213-26 BLAS_SYMV Procedure Parameters
Parameter | Description |
---|---|
uplo |
Specifies whether the upper or lower triangular part of the array A is to be referenced:
|
n |
Specifies the order 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 with uplo = 'U' or 'u' , the leading n by n upper triangular part of the array A must contain the upper triangular part of the symmetric matrix and the strictly lower triangular part of A is not referenced.
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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
(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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
(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:
|
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 groupSyntax
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 213-27 BLAS_SYR Procedure Parameters
Parameter | Description |
---|---|
uplo |
Specifies whether the upper or lower triangular part of the array A is to be referenced:
|
n |
Specifies the order of the matrix A . n must be at least zero. |
alpha |
Specifies the scalar alpha. |
x |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
(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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda, n)
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
max( 1, n ) |
pack |
(Optional) Flags the packing of the matrices:
|
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 groupSyntax
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 213-28 BLAS_SYR2 Procedure Parameters
Parameter | Description |
---|---|
uplo |
Specifies whether the upper or lower triangular part of the array A is to be referenced:
|
n |
Specifies the order of the matrix A . n must be at least zero. |
alpha |
Specifies the scalar alpha. |
x |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda, n)
With With |
lda |
Specifies the first dimension of a as declared in the calling (sub) program. lda must be at least
max( 1, n ) |
pack |
(Optional) Flags the packing of the matrices:
|
This procedure 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 groupSyntax
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 213-29 BLAS_SYR2K Procedure Parameters
Parameter | Description |
---|---|
uplo |
Specifies whether the upper or lower triangular part of the array C is to be referenced:
|
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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda,ka) where kb is k when trans = 'N' or 'n' , and is n otherwise.
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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda,kb) where kb is k when trans = 'N' or 'n' , and is n otherwise.
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 | UTL_NLA_ARRAY_FLT /DBL of DIMENSION (ldc,n) .
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:
|
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 groupSyntax
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 213-30 BLAS_SYRK Procedure Parameters
Parameter | Description |
---|---|
uplo |
Specifies whether the upper or lower triangular part of the array C is to be referenced:
|
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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda,ka) where ka is k when trans = 'N' or 'n' , and is n otherwise.
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 | UTL_NLA_ARRAY_FLT /DBL of DIMENSION (ldc,n) .
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:
|
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 groupSyntax
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 213-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 A is unit triangular:
|
n |
Specifies the order of the matrix A . n must be at least zero. |
k |
Specifies whether or not A is unit triangular:
K must satisfy |
a |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION ( lda , n ).
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:
|
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 groupSyntax
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 213-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 A is unit triangular:
|
n |
Specifies the order of the matrix A . n must be at least zero. |
k |
Specifies whether or not A is unit triangular:
K must satisfy |
a |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda,n) .
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 |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
( 1 + ( n - 1 ) *abs( incx ) ) 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.
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 groupSyntax
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 213-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 A is unit triangular:
|
n |
Specifies the order of the matrix A . n must be at least zero. |
ap |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda,n) .
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:
|
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 groupSyntax
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 213-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 A is unit triangular:
|
n |
Specifies the order of the matrix A . n must be at least zero. |
ap |
UTL_NLA_ARRAY_FLT /DBL of dimension at least
((n*(n+1))/2) 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 |
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.
This procedure performs one of the 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 groupSyntax
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 213-35 BLAS_TRMM Procedure Parameters
Parameter | Description |
---|---|
side |
Specifies whether the symmetric matrix A appears on the left or right in the operation:
|
uplo |
Specifies whether the upper or lower triangular part of the array A is to be referenced:
|
transa |
Specifies the form of op (A) to be used in the matrix multiplication as follows:
|
diag |
Specifies whether or not A is unit triangular:
|
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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda,k) where k is m when side = 'L' or 'l' , and is n when side = ''R' or 'r' .
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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (ldb,n) .
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:
|
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 groupSyntax
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 213-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 A is unit triangular:
|
n |
Specifies the order of the matrix A . n must be at least zero. |
a |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda , n ).
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:
|
This procedure 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 groupSyntax
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 213-37 BLAS_TRSM Procedure Parameters
Parameter | Description |
---|---|
side |
Specifies whether the symmetric matrix A appears on the left or right in the operation:
|
uplo |
Specifies whether the upper or lower triangular part of the array A is to be referenced:
|
transa |
Specifies the form of op (A) to be used in the matrix multiplication as follows:
|
diag |
Specifies whether or not A is unit triangular:
|
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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda, k ) where k is m when side = 'L' or 'l' , and is n when side = 'R ' or 'r' .
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 |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (ldb, n ).
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:
|
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 groupSyntax
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 213-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 A is unit triangular:
|
n |
Specifies the order of the matrix A . n must be at least zero. |
a |
UTL_NLA_ARRAY_FLT /DBL of DIMENSION (lda , n ).
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) * 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.
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (ldab, n) .
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 |
INTEGER array, DIMENSION (n) .
The pivot indices that define the permutation matrix |
b |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (ldb, nrhs) .
On entry, the On exit, if |
ldb |
The leading dimension of the array b.
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
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 groupSyntax
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 213-40 LAPACK_GEES Procedure Parameters
Parameter | Description |
---|---|
jobz |
|
n |
The order of the matrix a. N >= 0 . |
a | UTL_NLA_ARRAY_FLT/DBL , DIMENSION (lda, n) .
|
lda |
The leading dimension of the array a. lda >= max(1,n) . |
wr |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
|
wi |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldz, n) .
|
vs |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
|
ldvs |
The leading dimension of the array vs . VS. ldvs >= 1 . If jobvs = 'V' , ldvs >= N |
info |
|
pack |
(Optional) Flags the packing of the matricies:
|
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'
and m >= n
: find the least squares solution of an overdetermined system, that is, solve the least squares problem.
minimize || B - A*X ||
If TRANS = 'N'
and m < n
: find the minimum norm solution of an underdetermined system A * X = B
.
If TRANS = 'T'
and m >= n
: find the minimum norm solution of an undetermined system A**T * X = B
.
If TRANS = 'T'
and m < n
: find the least squares solution of an overdetermined system, that is, solve the least squares problem minimize || B - A**T * X ||
.
See Also:
LAPACK Driver Routines (LLS and Eigenvalue Problems) Subprograms for other subprograms in this groupSyntax
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 213-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 b and x.nrhs >= 0 . |
a |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (lda, n) .
On entry, the matrix On exit, if |
lda |
The leading dimension of the array A . lda >= max(1,m) . |
b |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldb, nrhs) .
On entry, the matrix On exit,
|
ldb |
The leading dimension of the array b .
|
info |
|
pack |
(Optional) Flags the packing of the matricies:
|
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 groupSyntax
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 213-42 LAPACK_GESDD Procedure Parameters
Parameter | Description |
---|---|
jobz |
Specifies options for computing all or part of the matrix U :
|
m |
The order of the matrix a. m >= 0 . |
n |
The order of the matrix a. n >= 0 . |
a |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (lda, n) .
On entry, the On exit:
|
lda |
The leading dimension of the array a. lda >= max(1,m) . |
s |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (min(m,n) .
The singular values of |
u |
UTL_NLA_ARRAY_FLT/DBL . ucol = m if jobz = 'A' or jobz = 'O' and m < n ; ucol = min(m,n) if jobz = 'S' .
|
ldu |
The leading dimension of the array U. ldu >= 1. If jobz = 'S' or 'A' ,or jobz = 'O' and m < n , ldu >= m . |
vt |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldvt, n) .
|
ldvt |
The leading dimension of the array vt . ldvt >= 1 .
|
info |
|
pack |
(Optional) Flags the packing of the matricies:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (lda, n) .
On entry, the On exit, the factors |
lda |
The leading dimension of the array a.
|
ipiv |
INTEGER array, DIMENSION (n) .
The pivot indices that define the permutation matrix |
b |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (ldb, nrhs) .
On entry, the On exit, if |
ldb |
The leading dimension of the array b .
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
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 groupSyntax
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 213-44 LAPACK_GESVD Procedure Parameters
Parameter | Description |
---|---|
jobu |
Specifies options for computing all or part of the matrix U :
|
jobvt |
Specifies options for computing all or part of the matrix V**T :
|
m |
The order of the matrix a. M >= 0 . |
n |
The order of the matrix a. N >= 0 . |
a |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (lda, n) .
On entry, the On exit:
|
lda |
The leading dimension of the array a. lda >= max(1,n) . |
s |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (min(m,n) .
The singular values of |
u |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldu,ucol).(ldu,m) if jobu = 'A' or (ldu,min(m,n)) if jobu = 'S' .
|
ldu |
The leading dimension of the array U. ldu >= 1. If jobu = 'S' or 'a' , ldu >= m . |
vt |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldvt, n) .
|
ldvt |
The leading dimension of the array vt . ldvt >= 1 .
|
info |
|
pack |
(Optional) Flags the packing of the matricies:
|
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)
of A
satisfies A * v(j) = lambda(j) * v(j)
where lambda(j)
is its eigenvalue.
The left eigenvector u(j)
of A
satisfies u(j)**H * A = lambda(j) * u(j)**H
where u(j)**H
denotes the conjugate transpose of u(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 groupSyntax
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 213-45 LAPACK_GEEV Procedure Parameters
Parameter | Description |
---|---|
jobvl |
|
jobvr |
|
n |
The order of the matrix a. N >= 0 . |
a |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (lda, n) .
|
lda |
The leading dimension of the array a. lda >= max(1,n) . |
wr |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
|
wi |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldz, n) .
|
vl |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
|
ldv1 |
The leading dimension of the array vl . ldvl >= 1. If jobvl = 'v' , ldvl >= n . |
vr |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldvr, n) .
|
ldvr |
The leading dimension of the array vr . vr.ldvr >= 1 . If jobvr = 'V' , ldvr >= N |
info |
|
pack |
(Optional) Flags the packing of the matricies:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (n-1) .
On entry, On exit, |
d |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (n) .
On entry, On exit, |
du |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (n-1) .
On entry, On exit, |
b |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (LDB, nrhs) .
On entry, the On exit, if |
ldb |
The leading dimension of the array b.
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (ldab, n) .
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 ab .
|
b |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (ldb, nrhs) .
On entry, the On exit, if |
ldb |
The leading dimension of the array b .
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (lda, n) .
If If On exit, if |
lda |
The leading dimension of the array a.
|
b |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (ldb, nrhs) .
On entry, the On exit, if |
ldb |
The leading dimension of the array b.
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (n*(n+1)/2) .
On entry, the upper or lower triangle of the symmetric matrix If If On exit, if |
b |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (ldb, nrhs) .
On entry, the On exit, if |
ldb |
The leading dimension of the array b.
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (n) .
On entry, the On exit, the |
e |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (n-1) .
On entry, the On exit, the |
b |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (ldb, nrhs) .
On entry, the On exit, if |
ldb |
The leading dimension of the array b .
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (ldab, n) .
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 |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
If |
z |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
|
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 matricies:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (ldab, n) .
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 |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldz,n) .
If |
z |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
|
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 matricies:
|
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 groupSyntax
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 213-53 LAPACK_SPEV Procedure Parameters
Parameter | Description |
---|---|
jobz |
|
uplo |
|
n |
The order of the matrix a. N >= 0 . |
ap |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (n*(n+1)/2) .
On entry, the upper or lower triangle of the symmetric matrix
On exit,
|
w |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
If |
z |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldz,n) .
|
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 matricies:
|
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 groupSyntax
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 213-54 LAPACK_SPEVD Procedure Parameters
Parameter | Description |
---|---|
jobz |
|
uplo |
|
n |
The order of the matrix a. N >= 0 . |
ap |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (n*(n+1)/2) .
On entry, the upper or lower triangle of the symmetric matrix
On exit,
|
w |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
If |
z |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldz,n) .
|
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 matricies:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (n*(n+1)/2) .
On entry, the upper or lower triangle of the symmetric matrix
See below for further details. On exit, the block diagonal matrix |
ipiv |
INTEGER array , DIMENSION (n) .
Details of the interchanges and the block structure of
|
b |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldb, nrhs) .
On entry, the On exit, if |
ldb |
The leading dimension of the array b .
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|
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 groupSyntax
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 213-56 LAPACK_STEV Procedure Parameters
Parameter | Description |
---|---|
jobz |
|
n |
The order of the matrix a. N >= 0 . |
d |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
|
e | UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
|
z |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldz, n) .
|
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 matricies:
|
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 groupSyntax
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 213-57 LAPACK_STEVD Procedure Parameters
Parameter | Description |
---|---|
jobz |
|
n |
The order of the matrix a. N >= 0 . |
d |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
|
e | UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
|
z |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldz, n) .
|
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 matricies:
|
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 groupSyntax
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 213-58 LAPACK_SYEV Procedure Parameters
Paramete | Description |
---|---|
jobz |
|
uplo |
|
n |
The order of the matrix a. N >= 0 . |
a |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (lda, n) .
On entry, the symmetric matrix
On exit:
|
lda |
The leading dimension of the array a . lda >= max(1,n) . |
w |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
If |
info |
|
pack |
(Optional) Flags the packing of the matricies:
|
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 groupSyntax
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 213-59 LAPACK_SYEVD Procedure Parameters
Parameter | Description |
---|---|
jobz |
|
uplo |
|
n |
The order of the matrix a. N >= 0 . |
a |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (lda, n) .
On entry, the symmetric matrix
On exit:
|
lda |
The leading dimension of the array a . lda >= max(1,n) . |
w |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (n) .
If |
info |
|
pack |
(Optional) Flags the packing of the matricies:
|
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 groupSyntax
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 213-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 |
UTL_NLA_ARRAY_FLT /DBL, DIMENSION (n-1) .
On entry, the symmetric matrix On exit, if |
lda |
The leading dimension of the array a .
|
ipiv |
INTEGER array , DIMENSION (ldb, nrhs) .
Details of the interchanges and the block structure of
|
b |
UTL_NLA_ARRAY_FLT/DBL , DIMENSION (ldb, nrhs) .
On entry, the On exit, if |
ldb |
The leading dimension of the array b .
|
info |
|
pack |
(Optional) Flags the packing of the matrices:
|