laqsp#

Functions

void slaqsp(
    const char*          uplo,
    const INT            n,
          f32*  restrict AP,
    const f32*  restrict S,
    const f32            scond,
    const f32            amax,
          char*          equed
);
void slaqsp(const char *uplo, const INT n, f32 *restrict AP, const f32 *restrict S, const f32 scond, const f32 amax, char *equed)#

SLAQSP equilibrates a symmetric matrix A using the scaling factors in the vector S.

Parameters

in
uplo

  • 'U': Upper triangular part of A is stored

  • 'L': Lower triangular part of A is stored

in
n

The order of the matrix A. n>=0.

inout
AP

Array of dimension n*(n+1)/2. On entry, the upper or lower triangle of the symmetric matrix A, packed columnwise in a linear array. On exit, the equilibrated matrix: diag(S) * A * diag(S), in the same storage format as A.

in
S

Array of dimension n. The scale factors for A.

in
scond

Ratio of the smallest S(i) to the largest S(i).

in
amax

Absolute value of largest matrix entry.

out
equed

  • 'N': No equilibration

  • 'Y': Equilibration was done, i.e., A has been replaced by diag(S) * A * diag(S)

Functions

void dlaqsp(
    const char*          uplo,
    const INT            n,
          f64*  restrict AP,
    const f64*  restrict S,
    const f64            scond,
    const f64            amax,
          char*          equed
);
void dlaqsp(const char *uplo, const INT n, f64 *restrict AP, const f64 *restrict S, const f64 scond, const f64 amax, char *equed)#

DLAQSP equilibrates a symmetric matrix A using the scaling factors in the vector S.

Parameters

in
uplo

  • 'U': Upper triangular part of A is stored

  • 'L': Lower triangular part of A is stored

in
n

The order of the matrix A. n>=0.

inout
AP

Array of dimension n*(n+1)/2. On entry, the upper or lower triangle of the symmetric matrix A, packed columnwise in a linear array. On exit, the equilibrated matrix: diag(S) * A * diag(S), in the same storage format as A.

in
S

Array of dimension n. The scale factors for A.

in
scond

Ratio of the smallest S(i) to the largest S(i).

in
amax

Absolute value of largest matrix entry.

out
equed

  • 'N': No equilibration

  • 'Y': Equilibration was done, i.e., A has been replaced by diag(S) * A * diag(S)

Functions

void claqsp(
    const char*          uplo,
    const INT            n,
          c64*  restrict AP,
    const f32*  restrict S,
    const f32            scond,
    const f32            amax,
          char*          equed
);
void claqsp(const char *uplo, const INT n, c64 *restrict AP, const f32 *restrict S, const f32 scond, const f32 amax, char *equed)#

CLAQSP equilibrates a symmetric matrix A using the scaling factors in the vector S.

Parameters

in
uplo

  • 'U': Upper triangular part of A is stored

  • 'L': Lower triangular part of A is stored

in
n

The order of the matrix A. n>=0.

inout
AP

Array of dimension n*(n+1)/2. On entry, the upper or lower triangle of the symmetric matrix A, packed columnwise in a linear array. On exit, the equilibrated matrix: diag(S) * A * diag(S), in the same storage format as A.

in
S

Array of dimension n. The scale factors for A.

in
scond

Ratio of the smallest S(i) to the largest S(i).

in
amax

Absolute value of largest matrix entry.

out
equed

  • 'N': No equilibration

  • 'Y': Equilibration was done, i.e., A has been replaced by diag(S) * A * diag(S)

Functions

void zlaqsp(
    const char*          uplo,
    const INT            n,
          c128* restrict AP,
    const f64*  restrict S,
    const f64            scond,
    const f64            amax,
          char*          equed
);
void zlaqsp(const char *uplo, const INT n, c128 *restrict AP, const f64 *restrict S, const f64 scond, const f64 amax, char *equed)#

ZLAQSP equilibrates a symmetric matrix A using the scaling factors in the vector S.

Parameters

in
uplo

  • 'U': Upper triangular part of A is stored

  • 'L': Lower triangular part of A is stored

in
n

The order of the matrix A. n>=0.

inout
AP

Array of dimension n*(n+1)/2. On entry, the upper or lower triangle of the symmetric matrix A, packed columnwise in a linear array. On exit, the equilibrated matrix: diag(S) * A * diag(S), in the same storage format as A.

in
S

Array of dimension n. The scale factors for A.

in
scond

Ratio of the smallest S(i) to the largest S(i).

in
amax

Absolute value of largest matrix entry.

out
equed

  • 'N': No equilibration

  • 'Y': Equilibration was done, i.e., A has been replaced by diag(S) * A * diag(S)