lae2#
Functions
-
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
inaThe (1,1) element of the 2-by-2 matrix.
inbThe (1,2) and (2,1) elements of the 2-by-2 matrix.
incThe (2,2) element of the 2-by-2 matrix.
outrt1The eigenvalue of larger absolute value.
outrt2The eigenvalue of smaller absolute value.
void slae2(
const f32 a,
const f32 b,
const f32 c,
f32* rt1,
f32* rt2
);
Functions
-
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
inaThe (1,1) element of the 2-by-2 matrix.
inbThe (1,2) and (2,1) elements of the 2-by-2 matrix.
incThe (2,2) element of the 2-by-2 matrix.
outrt1The eigenvalue of larger absolute value.
outrt2The eigenvalue of smaller absolute value.
void dlae2(
const f64 a,
const f64 b,
const f64 c,
f64* rt1,
f64* rt2
);