las2#

Functions

void slas2(
    const f32  f,
    const f32  g,
    const f32  h,
          f32* ssmin,
          f32* ssmax
);
void slas2(const f32 f, const f32 g, const f32 h, f32 *ssmin, f32 *ssmax)#

SLAS2 computes the singular values of the 2-by-2 matrix [ F G ] [ 0 H ].

On return, SSMIN is the smaller singular value and SSMAX is the larger singular value.

Parameters

in
f

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

in
g

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

in
h

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

out
ssmin

The smaller singular value.

out
ssmax

The larger singular value.

Functions

void dlas2(
    const f64  f,
    const f64  g,
    const f64  h,
          f64* ssmin,
          f64* ssmax
);
void dlas2(const f64 f, const f64 g, const f64 h, f64 *ssmin, f64 *ssmax)#

DLAS2 computes the singular values of the 2-by-2 matrix [ F G ] [ 0 H ].

On return, SSMIN is the smaller singular value and SSMAX is the larger singular value.

Parameters

in
f

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

in
g

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

in
h

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

out
ssmin

The smaller singular value.

out
ssmax

The larger singular value.