lasd5#
Functions
-
void slasd5(const INT i, const f32 *restrict D, const f32 *restrict Z, f32 *restrict delta, const f32 rho, f32 *dsigma, f32 *restrict work)#
SLASD5 computes the square root of the I-th eigenvalue of a positive symmetric rank-one modification of a 2-by-2 diagonal matrix:
The diagonal entries in D are assumed to satisfy 0 <= D[0] < D[1]. We also assume RHO > 0 and that the Euclidean norm of Z is one.diag(D) * diag(D) + RHO * Z * Z^T
Parameters
iniThe index of the eigenvalue to be computed. i = 0 or i = 1.
inDArray of dimension 2. The original eigenvalues. 0 <= D[0] < D[1].
inZArray of dimension 2. The components of the updating vector.
outdeltaArray of dimension 2. Contains (D[j] - sigma_i) in its j-th component.
inrhoThe scalar in the symmetric updating formula.
outdsigmaThe computed sigma_i, the i-th updated eigenvalue.
outworkArray of dimension 2. Contains (D[j] + sigma_i) in its j-th component.
void slasd5(
const INT i,
const f32* restrict D,
const f32* restrict Z,
f32* restrict delta,
const f32 rho,
f32* dsigma,
f32* restrict work
);
Functions
-
void dlasd5(const INT i, const f64 *restrict D, const f64 *restrict Z, f64 *restrict delta, const f64 rho, f64 *dsigma, f64 *restrict work)#
DLASD5 computes the square root of the I-th eigenvalue of a positive symmetric rank-one modification of a 2-by-2 diagonal matrix:
The diagonal entries in D are assumed to satisfy 0 <= D[0] < D[1]. We also assume RHO > 0 and that the Euclidean norm of Z is one.diag(D) * diag(D) + RHO * Z * Z^T
Parameters
iniThe index of the eigenvalue to be computed. i = 0 or i = 1.
inDArray of dimension 2. The original eigenvalues. 0 <= D[0] < D[1].
inZArray of dimension 2. The components of the updating vector.
outdeltaArray of dimension 2. Contains (D[j] - sigma_i) in its j-th component.
inrhoThe scalar in the symmetric updating formula.
outdsigmaThe computed sigma_i, the i-th updated eigenvalue.
outworkArray of dimension 2. Contains (D[j] + sigma_i) in its j-th component.
void dlasd5(
const INT i,
const f64* restrict D,
const f64* restrict Z,
f64* restrict delta,
const f64 rho,
f64* dsigma,
f64* restrict work
);