Simultaneously bidiagonalizes the blocks of a partitioned orthogonal/unitary matrix.
FORTRAN 77:
call sorbdb( trans, signs, m, p, q, x11, ldx11, x12, ldx12, x21, ldx21, x22, ldx22, theta, phi, taup1, taup2, tauq1, tauq2, work, lwork, info )
call dorbdb( trans, signs, m, p, q, x11, ldx11, x12, ldx12, x21, ldx21, x22, ldx22, theta, phi, taup1, taup2, tauq1, tauq2, work, lwork, info )
call cunbdb( trans, signs, m, p, q, x11, ldx11, x12, ldx12, x21, ldx21, x22, ldx22, theta, phi, taup1, taup2, tauq1, tauq2, work, lwork, info )
call zunbdb( trans, signs, m, p, q, x11, ldx11, x12, ldx12, x21, ldx21, x22, ldx22, theta, phi, taup1, taup2, tauq1, tauq2, work, lwork, info )
Fortran 95:
call orbdb( x11,x12,x21,x22,theta,phi,taup1,taup2,tauq1,tauq2[,trans][,signs][,info] )
call unbdb( x11,x12,x21,x22,theta,phi,taup1,taup2,tauq1,tauq2[,trans][,signs][,info] )
C:
lapack_int LAPACKE_sorbdb( int matrix_order, char trans, char signs, lapack_int m, lapack_int p, lapack_int q, float* x11, lapack_int ldx11, float* x12, lapack_int ldx12, float* x21, lapack_int ldx21, float* x22, lapack_int ldx22, float* theta, float* phi, float* taup1, float* taup2, float* tauq1, float* tauq2 );
lapack_int LAPACKE_dorbdb( int matrix_order, char trans, char signs, lapack_int m, lapack_int p, lapack_int q, double* x11, lapack_int ldx11, double* x12, lapack_int ldx12, double* x21, lapack_int ldx21, double* x22, lapack_int ldx22, double* theta, double* phi, double* taup1, double* taup2, double* tauq1, double* tauq );
lapack_int LAPACKE_cunbdb( int matrix_order, char trans, char signs, lapack_int m, lapack_int p, lapack_int q, lapack_complex_float* x11, lapack_int ldx11, lapack_complex_float* x12, lapack_int ldx12, lapack_complex_float* x21, lapack_int ldx21, lapack_complex_float* x22, lapack_int ldx22, float* theta, float* phi, lapack_complex_float* taup1, lapack_complex_float* taup2, lapack_complex_float* tauq1, lapack_complex_float* tauq2 );
lapack_int LAPACKE_zunbdb( int matrix_order, char trans, char signs, lapack_int m, lapack_int p, lapack_int q, lapack_complex_double* x11, lapack_int ldx11, lapack_complex_double* x12, lapack_int ldx12, lapack_complex_double* x21, lapack_int ldx21, lapack_complex_double* x22, lapack_int ldx22, double* theta, double* phi, lapack_complex_double* taup1, lapack_complex_double* taup2, lapack_complex_double* tauq1, lapack_complex_double* tauq2 );
The FORTRAN 77 interfaces are specified in the mkl_lapack.fi and mkl_lapack.h include files, the Fortran 95 interfaces are specified in the lapack.f90 include file, and the C interfaces are specified in the mkl_lapacke.h include file.
The routines ?orbdb/?unbdb simultaneously bidiagonalizes the blocks of an m-by-m partitioned orthogonal matrix X:
or unitary matrix:
x11 is p-by-q. q must not be larger than p, m-p, or m-q. Otherwise, x must be transposed and/or permuted in constant time using the trans and signs options. See ?orcsd/?uncsd for details.
The orthogonal/unitary matrices p1, p2, q1, and q 2 are p-by-p, (m-p)-by-(m-p), q-by-q, (m-q)-by-(m-q), respectively. They are represented implicitly by Housholder vectors.
The bidiagonal matrices b11, b12, b21, and b22 are q-by-q bidiagonal matrices represented implicitly by angles theta(1), ..., theta(q) and phi(1), ..., phi(q-1). b11 and b12 are upper bidiagonal, while b21 and b22 are lower bidiagonal. Every entry in each bidiagonal band is a product of a sine or cosine of theta with a sine or cosine of phi. See [Sutton09] or description of ?orcsd/?uncsd for details.
p1, p2, q1, and q2 are represented as products of elementary reflectors. See description of ?orcsd/?uncsd for details on generating p1, p2, q1, and q2 using ?orgqr and ?orglq.
The data types are given for the Fortran interface. A <datatype> placeholder, if present, is used for the C interface data types in the C interface section above. See C Interface Conventions for the C interface principal conventions and type definitions.
CHARACTER
CHARACTER
INTEGER. The number of rows and columns of the matrix X.
INTEGER. The number of rows in x11 and x12. 0 ≤ p ≤ m.
INTEGER. The number of columns in x11 and x21. 0 ≤ q ≤ min(p,m-p,m-q).
REAL for sorbdb
DOUBLE PRECISION for dorbdb
COMPLEX for cunbdb
DOUBLE COMPLEX for zunbdb
Array, DIMENSION (ldx11,q).
On entry, the top-left block of the orthogonal/unitary matrix to be reduced.
INTEGER. The leading dimension of the array X11. If trans = 'T', ldx11 ≥ p. Otherwise, ldx11 ≥ q.
REAL for sorbdb
DOUBLE PRECISION for dorbdb
COMPLEX for cunbdb
DOUBLE COMPLEX for zunbdb
Array, DIMENSION (ldx12,m-q).
On entry, the top-right block of the orthogonal/unitary matrix to be reduced.
INTEGER. The leading dimension of the array X12. If trans = 'N', ldx12 ≥ p. Otherwise, ldx12 ≥ m-q.
REAL for sorbdb
DOUBLE PRECISION for dorbdb
COMPLEX for cunbdb
DOUBLE COMPLEX for zunbdb
Array, DIMENSION (ldx21,q).
On entry, the bottom-left block of the orthogonal/unitary matrix to be reduced.
INTEGER. The leading dimension of the array X21. If trans = 'N', ldx21 ≥ m-p. Otherwise, ldx21 ≥ q.
REAL for sorbdb
DOUBLE PRECISION for dorbdb
COMPLEX for cunbdb
DOUBLE COMPLEX for zunbdb
Array, DIMENSION (ldx22,m-q).
On entry, the bottom-right block of the orthogonal/unitary matrix to be reduced.
INTEGER. The leading dimension of the array X21. If trans = 'N', ldx22 ≥ m-p. Otherwise, ldx22 ≥ m-q.
REAL for sorbdb
DOUBLE PRECISION for dorbdb
COMPLEX for cunbdb
DOUBLE COMPLEX for zunbdb
Workspace array, DIMENSION (lwork).
INTEGER. The size of the work array. lwork ≥ m-q
If lwork = -1, then a workspace query is assumed; the routine only calculates the optimal size of the work array, returns this value as the first entry of the work array, and no error message related to lwork is issued by xerbla.
On exit, the form depends on trans:
On exit, the form depends on trans:
On exit, the form depends on trans:
On exit, the form depends on trans:
REAL for sorbdb
DOUBLE PRECISION for dorbdb
COMPLEX for cunbdb
DOUBLE COMPLEX for zunbdb
Array, DIMENSION (q). The entries of bidiagonal blocks b11, b12, b21, and b22 can be computed from the angles theta and phi. See the Description section for details.
REAL for sorbdb
DOUBLE PRECISION for dorbdb
COMPLEX for cunbdb
DOUBLE COMPLEX for zunbdb
Array, DIMENSION (q-1). The entries of bidiagonal blocks b11, b12, b21, and b22 can be computed from the angles theta and phi. See the Description section for details.
REAL for sorbdb
DOUBLE PRECISION for dorbdb
COMPLEX for cunbdb
DOUBLE COMPLEX for zunbdb
Array, DIMENSION (p).
Scalar factors of the elementary reflectors that define p1.REAL for sorbdb
DOUBLE PRECISION for dorbdb
COMPLEX for cunbdb
DOUBLE COMPLEX for zunbdb
Array, DIMENSION (m-p).
Scalar factors of the elementary reflectors that define p2.REAL for sorbdb
DOUBLE PRECISION for dorbdb
COMPLEX for cunbdb
DOUBLE COMPLEX for zunbdb
Array, DIMENSION (q).
Scalar factors of the elementary reflectors that define q1.REAL for sorbdb
DOUBLE PRECISION for dorbdb
COMPLEX for cunbdb
DOUBLE COMPLEX for zunbdb
Array, DIMENSION (m-q).
Scalar factors of the elementary reflectors that define q2.INTEGER.
= 0: successful exit
< 0: if info = -i, the i-th argument has an illegal value.
Routines in Fortran 95 interface have fewer arguments in the calling sequence than their FORTRAN 77 counterparts. For general conventions applied to skip redundant or reconstructible arguments, see Fortran 95 Interface Conventions.
Specific details for the routine ?orbdb/?unbdb interface are as follows:
Holds the block of matrix X of size (p, q).
Holds the block of matrix X of size (p, m-q).
Holds the block of matrix X of size (m-p, q).
Holds the block of matrix X of size (m-p, m-q).
Holds the vector of length q.
Holds the vector of length q-1.
Holds the vector of length p.
Holds the vector of length m-p.
Holds the vector of length q.
Holds the vector of length m-q.
Must be 'N' or 'T'.
Must be 'O' or 'D'.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.