Matrix Arguments in BLAS and LAPACK

To pass matrices to BLAS or LAPACK routines, you'll need to use (some or all of) the following parameters:

array that holds the matrix elements (for example, SA contains elements of the matrix A in single precision); see also Matrix Storage Schemes and Naming Conventions.

leading dimension of the array (for example, lda). For full-storage matrices, the leading dimension must not be less than the number of rows in the matrix. For band matrices, it must not be less than the matrix band width.

numbers of rows and columns in the matrix, or the matrix order (for example, m, n, or k).

uplo parameter for triangular, symmetric, or Hermitian matrices. This parameter specifies whether the upper or lower triangle of the matrix is stored. See Matrix Storage Schemes for more information.

transposition parameter (for example, transa). This parameter specifies whether to transpose/conjugate the passed matrix A.
If transa='N', the routine works with the matrix A without transposition or conjugation. In the routine description, op(A) = A.
If transa='T', the routine works with the transposed matrix (AT). In the routine description, op(A) = AT.
If transa='C', the routine works with the conjugated transposed matrix (AH). In the routine description, op(A) = AH.
(Similar conventions apply to the parameter transb and the matrix B.)

diag parameter. This parameter specifies whether the matrix has unit diagonal elements.
If diag='U', all diagonal elements are assumed to be 1; the routine does not actually reference the corresponding locations in the array.
If diag='N', the routine works with the values of diagonal matrix elements stored in the array.

* Legal Information © 1999-2000, Intel Corporation