# slatb9.f - Man Page

TESTING/EIG/slatb9.f

## Synopsis

### Functions/Subroutines

subroutine **slatb9** (path, imat, m, p, n, type, kla, kua, klb, kub, anorm, bnorm, modea, modeb, cndnma, cndnmb, dista, distb)**SLATB9**

## Function/Subroutine Documentation

### subroutine slatb9 (character*3 path, integer imat, integer m, integer p, integer n, character type, integer kla, integer kua, integer klb, integer kub, real anorm, real bnorm, integer modea, integer modeb, real cndnma, real cndnmb, character dista, character distb)

**SLATB9**

**Purpose:**

SLATB9 sets parameters for the matrix generator based on the type of matrix to be generated.

**Parameters***PATH*PATH is CHARACTER*3 The LAPACK path name.

*IMAT*IMAT is INTEGER An integer key describing which matrix to generate for this path. = 1: A: diagonal, B: upper triangular = 2: A: upper triangular, B: upper triangular = 3: A: lower triangular, B: upper triangular Else: A: general dense, B: general dense

*M*M is INTEGER The number of rows in the matrix to be generated.

*P*P is INTEGER

*N*N is INTEGER The number of columns in the matrix to be generated.

*TYPE*TYPE is CHARACTER*1 The type of the matrix to be generated: = 'S': symmetric matrix; = 'P': symmetric positive (semi)definite matrix; = 'N': nonsymmetric matrix.

*KLA*KLA is INTEGER The lower band width of the matrix to be generated.

*KUA*KUA is INTEGER The upper band width of the matrix to be generated.

*KLB*KLB is INTEGER The lower band width of the matrix to be generated.

*KUB*KUA is INTEGER The upper band width of the matrix to be generated.

*ANORM*ANORM is REAL The desired norm of the matrix to be generated. The diagonal matrix of singular values or eigenvalues is scaled by this value.

*BNORM*BNORM is REAL The desired norm of the matrix to be generated. The diagonal matrix of singular values or eigenvalues is scaled by this value.

*MODEA*MODEA is INTEGER A key indicating how to choose the vector of eigenvalues.

*MODEB*MODEB is INTEGER A key indicating how to choose the vector of eigenvalues.

*CNDNMA*CNDNMA is REAL The desired condition number.

*CNDNMB*CNDNMB is REAL The desired condition number.

*DISTA*DISTA is CHARACTER*1 The type of distribution to be used by the random number generator.

*DISTB*DISTB is CHARACTER*1 The type of distribution to be used by the random number generator.

**Author**Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line **167** of file **slatb9.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.

## Referenced By

The man page slatb9(3) is an alias of slatb9.f(3).

Tue Nov 28 2023 12:08:42 Version 3.12.0 LAPACK