lahr2#
Functions
-
void slahr2(const INT n, const INT k, const INT nb, f32 *A, const INT lda, f32 *tau, f32 *T, const INT ldt, f32 *Y, const INT ldy)#
SLAHR2 reduces the first NB columns of A real general n-BY-(n-k+1) matrix A so that elements below the k-th subdiagonal are zero.
The reduction is performed by an orthogonal similarity transformation Q**T * A * Q. The routine returns the matrices V and T which determine Q as a block reflector I - V*T*V**T, and also the matrix Y = A * V * T.
This is an auxiliary routine called by SGEHRD.
Parameters
innThe order of the matrix A.
inkThe offset for the reduction. Elements below the k-th subdiagonal in the first NB columns are reduced to zero. k < n. (0-based)
innbThe number of columns to be reduced.
inoutAOn entry, the n-by-(n-k) general matrix A. On exit, the elements on and above the k-th subdiagonal in the first NB columns are overwritten with the corresponding elements of the reduced matrix. Dimension (lda, n-k).
inldaThe leading dimension of A. lda >= max(1, n).
outtauThe scalar factors of the elementary reflectors. Dimension (nb).
outTThe upper triangular matrix T. Dimension (ldt, nb).
inldtThe leading dimension of T. ldt >= nb.
outYThe n-by-nb matrix Y. Dimension (ldy, nb).
inldyThe leading dimension of Y. ldy >= n.
void slahr2(
const INT n,
const INT k,
const INT nb,
f32* A,
const INT lda,
f32* tau,
f32* T,
const INT ldt,
f32* Y,
const INT ldy
);
Functions
-
void dlahr2(const INT n, const INT k, const INT nb, f64 *A, const INT lda, f64 *tau, f64 *T, const INT ldt, f64 *Y, const INT ldy)#
DLAHR2 reduces the first NB columns of A real general n-BY-(n-k+1) matrix A so that elements below the k-th subdiagonal are zero.
The reduction is performed by an orthogonal similarity transformation Q**T * A * Q. The routine returns the matrices V and T which determine Q as a block reflector I - V*T*V**T, and also the matrix Y = A * V * T.
This is an auxiliary routine called by DGEHRD.
Parameters
innThe order of the matrix A.
inkThe offset for the reduction. Elements below the k-th subdiagonal in the first NB columns are reduced to zero. k < n. (0-based)
innbThe number of columns to be reduced.
inoutAOn entry, the n-by-(n-k) general matrix A. On exit, the elements on and above the k-th subdiagonal in the first NB columns are overwritten with the corresponding elements of the reduced matrix. Dimension (lda, n-k).
inldaThe leading dimension of A. lda >= max(1, n).
outtauThe scalar factors of the elementary reflectors. Dimension (nb).
outTThe upper triangular matrix T. Dimension (ldt, nb).
inldtThe leading dimension of T. ldt >= nb.
outYThe n-by-nb matrix Y. Dimension (ldy, nb).
inldyThe leading dimension of Y. ldy >= n.
void dlahr2(
const INT n,
const INT k,
const INT nb,
f64* A,
const INT lda,
f64* tau,
f64* T,
const INT ldt,
f64* Y,
const INT ldy
);
Functions
-
void clahr2(const INT n, const INT k, const INT nb, c64 *A, const INT lda, c64 *tau, c64 *T, const INT ldt, c64 *Y, const INT ldy)#
CLAHR2 reduces the first NB columns of A complex general n-BY-(n-k+1) matrix A so that elements below the k-th subdiagonal are zero.
The reduction is performed by an unitary similarity transformation Q**H * A * Q. The routine returns the matrices V and T which determine Q as a block reflector I - V*T*V**H, and also the matrix Y = A * V * T.
This is an auxiliary routine called by CGEHRD.
Parameters
innThe order of the matrix A.
inkThe offset for the reduction. Elements below the k-th subdiagonal in the first NB columns are reduced to zero. k < n. (0-based)
innbThe number of columns to be reduced.
inoutAOn entry, the n-by-(n-k) general matrix A. On exit, the elements on and above the k-th subdiagonal in the first NB columns are overwritten with the corresponding elements of the reduced matrix. Dimension (lda, n-k).
inldaThe leading dimension of A. lda >= max(1, n).
outtauThe scalar factors of the elementary reflectors. Dimension (nb).
outTThe upper triangular matrix T. Dimension (ldt, nb).
inldtThe leading dimension of T. ldt >= nb.
outYThe n-by-nb matrix Y. Dimension (ldy, nb).
inldyThe leading dimension of Y. ldy >= n.
void clahr2(
const INT n,
const INT k,
const INT nb,
c64* A,
const INT lda,
c64* tau,
c64* T,
const INT ldt,
c64* Y,
const INT ldy
);
Functions
-
void zlahr2(const INT n, const INT k, const INT nb, c128 *A, const INT lda, c128 *tau, c128 *T, const INT ldt, c128 *Y, const INT ldy)#
ZLAHR2 reduces the first NB columns of A complex general n-BY-(n-k+1) matrix A so that elements below the k-th subdiagonal are zero.
The reduction is performed by an unitary similarity transformation Q**H * A * Q. The routine returns the matrices V and T which determine Q as a block reflector I - V*T*V**H, and also the matrix Y = A * V * T.
This is an auxiliary routine called by ZGEHRD.
Parameters
innThe order of the matrix A.
inkThe offset for the reduction. Elements below the k-th subdiagonal in the first NB columns are reduced to zero. k < n. (0-based)
innbThe number of columns to be reduced.
inoutAOn entry, the n-by-(n-k) general matrix A. On exit, the elements on and above the k-th subdiagonal in the first NB columns are overwritten with the corresponding elements of the reduced matrix. Dimension (lda, n-k).
inldaThe leading dimension of A. lda >= max(1, n).
outtauThe scalar factors of the elementary reflectors. Dimension (nb).
outTThe upper triangular matrix T. Dimension (ldt, nb).
inldtThe leading dimension of T. ldt >= nb.
outYThe n-by-nb matrix Y. Dimension (ldy, nb).
inldyThe leading dimension of Y. ldy >= n.
void zlahr2(
const INT n,
const INT k,
const INT nb,
c128* A,
const INT lda,
c128* tau,
c128* T,
const INT ldt,
c128* Y,
const INT ldy
);