lae2#

Functions

void slae2(
    const f32  a,
    const f32  b,
    const f32  c,
          f32* rt1,
          f32* rt2
);
void slae2(const f32 a, const f32 b, const f32 c, f32 *rt1, f32 *rt2)#

SLAE2 computes the eigenvalues of a 2-by-2 symmetric matrix [ A B ] [ B C ].

On return, RT1 is the eigenvalue of larger absolute value, and RT2 is the eigenvalue of smaller absolute value.

Parameters

in
a

The (1,1) element of the 2-by-2 matrix.

in
b

The (1,2) and (2,1) elements of the 2-by-2 matrix.

in
c

The (2,2) element of the 2-by-2 matrix.

out
rt1

The eigenvalue of larger absolute value.

out
rt2

The eigenvalue of smaller absolute value.

Functions

void dlae2(
    const f64  a,
    const f64  b,
    const f64  c,
          f64* rt1,
          f64* rt2
);
void dlae2(const f64 a, const f64 b, const f64 c, f64 *rt1, f64 *rt2)#

DLAE2 computes the eigenvalues of a 2-by-2 symmetric matrix [ A B ] [ B C ].

On return, RT1 is the eigenvalue of larger absolute value, and RT2 is the eigenvalue of smaller absolute value.

Parameters

in
a

The (1,1) element of the 2-by-2 matrix.

in
b

The (1,2) and (2,1) elements of the 2-by-2 matrix.

in
c

The (2,2) element of the 2-by-2 matrix.

out
rt1

The eigenvalue of larger absolute value.

out
rt2

The eigenvalue of smaller absolute value.