laed5#
Functions
-
void slaed5(const INT i, const f32 *restrict D, const f32 *restrict Z, f32 *restrict delta, const f32 rho, f32 *dlam)#
SLAED5 computes the I-th eigenvalue of a symmetric rank-one modification of a 2-by-2 diagonal matrix.
diag( D ) + RHO * Z * transpose(Z) .
The diagonal elements in the array D are assumed to satisfy D(0) < D(1).
We also assume RHO > 0 and that the Euclidean norm of the vector Z is one.
Parameters
iniThe index of the eigenvalue to be computed. i = 0 or i = 1.
inDDouble precision array, dimension (2). The original eigenvalues. We assume D[0] < D[1].
inZDouble precision array, dimension (2). The components of the updating vector.
outdeltaDouble precision array, dimension (2). The vector DELTA contains the information necessary to construct the eigenvectors.
inrhoThe scalar in the symmetric updating formula.
outdlamThe computed lambda_I, the I-th updated eigenvalue.
void slaed5(
const INT i,
const f32* restrict D,
const f32* restrict Z,
f32* restrict delta,
const f32 rho,
f32* dlam
);
Functions
-
void dlaed5(const INT i, const f64 *restrict D, const f64 *restrict Z, f64 *restrict delta, const f64 rho, f64 *dlam)#
DLAED5 computes the I-th eigenvalue of a symmetric rank-one modification of a 2-by-2 diagonal matrix.
diag( D ) + RHO * Z * transpose(Z) .
The diagonal elements in the array D are assumed to satisfy D(0) < D(1).
We also assume RHO > 0 and that the Euclidean norm of the vector Z is one.
Parameters
iniThe index of the eigenvalue to be computed. i = 0 or i = 1.
inDDouble precision array, dimension (2). The original eigenvalues. We assume D[0] < D[1].
inZDouble precision array, dimension (2). The components of the updating vector.
outdeltaDouble precision array, dimension (2). The vector DELTA contains the information necessary to construct the eigenvectors.
inrhoThe scalar in the symmetric updating formula.
outdlamThe computed lambda_I, the I-th updated eigenvalue.
void dlaed5(
const INT i,
const f64* restrict D,
const f64* restrict Z,
f64* restrict delta,
const f64 rho,
f64* dlam
);