unbdb5#
Functions
-
void cunbdb5(const INT m1, const INT m2, const INT n, c64 *restrict X1, const INT incx1, c64 *restrict X2, const INT incx2, c64 *restrict Q1, const INT ldq1, c64 *restrict Q2, const INT ldq2, c64 *restrict work, const INT lwork, INT *info)#
CUNBDB5 orthogonalizes the column vector X = [ X1 ] [ X2 ] with respect to the columns of Q = [ Q1 ] .
[ Q2 ] The columns of Q must be orthonormal.
If the projection is zero according to Kahan’s “twice is enough” criterion, then some other vector from the orthogonal complement is returned. This vector is chosen in an arbitrary but deterministic way.
Parameters
inm1The dimension of X1 and the number of rows in Q1. 0 <= M1.
inm2The dimension of X2 and the number of rows in Q2. 0 <= M2.
innThe number of columns in Q1 and Q2. 0 <= N.
inoutX1Complex*16 array, dimension (M1). On entry, the top part of the vector to be orthogonalized. On exit, the top part of the projected vector.
inincx1Increment for entries of X1.
inoutX2Complex*16 array, dimension (M2). On entry, the bottom part of the vector to be orthogonalized. On exit, the bottom part of the projected vector.
inincx2Increment for entries of X2.
inQ1Complex*16 array, dimension (LDQ1, N). The top part of the orthonormal basis matrix.
inldq1The leading dimension of Q1. LDQ1 >= M1.
inQ2Complex*16 array, dimension (LDQ2, N). The bottom part of the orthonormal basis matrix.
inldq2The leading dimension of Q2. LDQ2 >= M2.
outworkComplex*16 array, dimension (LWORK).
inlworkThe dimension of the array WORK. LWORK >= N.
outinfo= 0: successful exit. < 0: if INFO = -i, the i-th argument had an illegal value.
void cunbdb5(
const INT m1,
const INT m2,
const INT n,
c64* restrict X1,
const INT incx1,
c64* restrict X2,
const INT incx2,
c64* restrict Q1,
const INT ldq1,
c64* restrict Q2,
const INT ldq2,
c64* restrict work,
const INT lwork,
INT* info
);
Functions
-
void zunbdb5(const INT m1, const INT m2, const INT n, c128 *restrict X1, const INT incx1, c128 *restrict X2, const INT incx2, c128 *restrict Q1, const INT ldq1, c128 *restrict Q2, const INT ldq2, c128 *restrict work, const INT lwork, INT *info)#
ZUNBDB5 orthogonalizes the column vector X = [ X1 ] [ X2 ] with respect to the columns of Q = [ Q1 ] .
[ Q2 ] The columns of Q must be orthonormal.
If the projection is zero according to Kahan’s “twice is enough” criterion, then some other vector from the orthogonal complement is returned. This vector is chosen in an arbitrary but deterministic way.
Parameters
inm1The dimension of X1 and the number of rows in Q1. 0 <= M1.
inm2The dimension of X2 and the number of rows in Q2. 0 <= M2.
innThe number of columns in Q1 and Q2. 0 <= N.
inoutX1Complex*16 array, dimension (M1). On entry, the top part of the vector to be orthogonalized. On exit, the top part of the projected vector.
inincx1Increment for entries of X1.
inoutX2Complex*16 array, dimension (M2). On entry, the bottom part of the vector to be orthogonalized. On exit, the bottom part of the projected vector.
inincx2Increment for entries of X2.
inQ1Complex*16 array, dimension (LDQ1, N). The top part of the orthonormal basis matrix.
inldq1The leading dimension of Q1. LDQ1 >= M1.
inQ2Complex*16 array, dimension (LDQ2, N). The bottom part of the orthonormal basis matrix.
inldq2The leading dimension of Q2. LDQ2 >= M2.
outworkComplex*16 array, dimension (LWORK).
inlworkThe dimension of the array WORK. LWORK >= N.
outinfo= 0: successful exit. < 0: if INFO = -i, the i-th argument had an illegal value.
void zunbdb5(
const INT m1,
const INT m2,
const INT n,
c128* restrict X1,
const INT incx1,
c128* restrict X2,
const INT incx2,
c128* restrict Q1,
const INT ldq1,
c128* restrict Q2,
const INT ldq2,
c128* restrict work,
const INT lwork,
INT* info
);