?lagge

Generates a general m-by-n matrix .

Syntax

C:

lapack_int LAPACKE_<?>lagge (int matrix_layout, lapack_int m, lapack_int n, lapack_int kl, lapack_int ku, const <datatype> * d, <datatype> * a, lapack_int lda, lapack_int * iseed);

Include Files

  • C: mkl.h

Description

The routine generates a general m-by-n matrix A, by pre- and post- multiplying a real diagonal matrix D with random matrices U and V:

A := U*D*V,

where U and V are orthogonal for real flavors and unitary for complex flavors. The lower and upper bandwidths may then be reduced to kl and ku by additional orthogonal transformations.

Input Parameters

The data types are given for the Fortran interface. A <datatype> placeholder, if present, is used for the C interface data types in the C interface section above. See C Interface Conventions for the C interface principal conventions and type definitions.

m

INTEGER. The number of rows of the matrix A (m 0).

n

INTEGER. The number of columns of the matrix A (n 0).

kl

INTEGER. The number of nonzero subdiagonals within the band of A (0 kl m-1).

ku

INTEGER. The number of nonzero superdiagonals within the band of A (0 ku n-1).

d

REAL for slagge, clagge

DOUBLE PRECISION for dlagge, zlagge.

The array d with the dimension of (min(m, n)) contains the diagonal elements of the diagonal matrix D.

lda

INTEGER. The leading dimension of the array a (lda m).

iseed

INTEGER.

The array iseed with the dimension of 4 contains the seed of the random number generator. The elements must be between 0 and 4095 and iseed(4) must be odd.

Output Parameters

a

REAL for slagge

DOUBLE PRECISION for dlagge

COMPLEX for clagge

DOUBLE COMPLEX for zlagge.

The array a with dimensions of (lda, n) contains the generated m-by-n matrix D.

iseed

The array iseed contains the updated seed on exit.

Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.