lasq4#

Functions

void slasq4(
    const INT           i0,
    const INT           n0,
    const f32* restrict Z,
    const INT           pp,
    const INT           n0in,
    const f32           dmin,
    const f32           dmin1,
    const f32           dmin2,
    const f32           dn,
    const f32           dn1,
    const f32           dn2,
          f32*          tau,
          INT*          ttype,
          f32*          g
);
void slasq4(const INT i0, const INT n0, const f32 *restrict Z, const INT pp, const INT n0in, const f32 dmin, const f32 dmin1, const f32 dmin2, const f32 dn, const f32 dn1, const f32 dn2, f32 *tau, INT *ttype, f32 *g)#

SLASQ4 computes an approximation TAU to the smallest eigenvalue using values of d from the previous transform.

Parameters

in
i0

First index (0-based).

in
n0

Last index (0-based).

in
Z

Double precision array, dimension (4*N). Z holds the qd array.

in
pp

PP=0 for ping, PP=1 for pong.

in
n0in

The value of N0 at start of EIGTEST (0-based).

in
dmin

Minimum value of d.

in
dmin1

Minimum value of d, excluding D(N0).

in
dmin2

Minimum value of d, excluding D(N0) and D(N0-1).

in
dn

d(N0).

in
dn1

d(N0-1).

in
dn2

d(N0-2).

out
tau

This is the shift.

out
ttype

Shift type.

inout
g

G is passed as an argument in order to save its value between calls to SLASQ4.

Functions

void dlasq4(
    const INT           i0,
    const INT           n0,
    const f64* restrict Z,
    const INT           pp,
    const INT           n0in,
    const f64           dmin,
    const f64           dmin1,
    const f64           dmin2,
    const f64           dn,
    const f64           dn1,
    const f64           dn2,
          f64*          tau,
          INT*          ttype,
          f64*          g
);
void dlasq4(const INT i0, const INT n0, const f64 *restrict Z, const INT pp, const INT n0in, const f64 dmin, const f64 dmin1, const f64 dmin2, const f64 dn, const f64 dn1, const f64 dn2, f64 *tau, INT *ttype, f64 *g)#

DLASQ4 computes an approximation TAU to the smallest eigenvalue using values of d from the previous transform.

Parameters

in
i0

First index (0-based).

in
n0

Last index (0-based).

in
Z

Double precision array, dimension (4*N). Z holds the qd array.

in
pp

PP=0 for ping, PP=1 for pong.

in
n0in

The value of N0 at start of EIGTEST (0-based).

in
dmin

Minimum value of d.

in
dmin1

Minimum value of d, excluding D(N0).

in
dmin2

Minimum value of d, excluding D(N0) and D(N0-1).

in
dn

d(N0).

in
dn1

d(N0-1).

in
dn2

d(N0-2).

out
tau

This is the shift.

out
ttype

Shift type.

inout
g

G is passed as an argument in order to save its value between calls to DLASQ4.