3 * =========== DOCUMENTATION ===========
5 * Online html documentation available at
6 * http://www.netlib.org/lapack/explore-html/
9 *> Download ILADIAG + dependencies
10 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/iladiag.f">
12 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/iladiag.f">
14 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/iladiag.f">
21 * INTEGER FUNCTION ILADIAG( DIAG )
23 * .. Scalar Arguments ..
33 *> This subroutine translated from a character string specifying if a
34 *> matrix has unit diagonal or not to the relevant BLAST-specified
37 *> ILADIAG returns an INTEGER. If ILADIAG < 0, then the input is not a
38 *> character indicating a unit or non-unit diagonal. Otherwise ILADIAG
39 *> returns the constant value corresponding to DIAG.
49 *> \author Univ. of Tennessee
50 *> \author Univ. of California Berkeley
51 *> \author Univ. of Colorado Denver
54 *> \date November 2011
56 *> \ingroup auxOTHERcomputational
58 * =====================================================================
59 INTEGER FUNCTION ILADIAG( DIAG )
61 * -- LAPACK computational routine (version 3.4.0) --
62 * -- LAPACK is a software package provided by Univ. of Tennessee, --
63 * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
66 * .. Scalar Arguments ..
70 * =====================================================================
73 INTEGER BLAS_NON_UNIT_DIAG, BLAS_UNIT_DIAG
74 PARAMETER ( BLAS_NON_UNIT_DIAG = 131, BLAS_UNIT_DIAG = 132 )
76 * .. External Functions ..
80 * .. Executable Statements ..
81 IF( LSAME( DIAG, 'N' ) ) THEN
82 ILADIAG = BLAS_NON_UNIT_DIAG
83 ELSE IF( LSAME( DIAG, 'U' ) ) THEN
84 ILADIAG = BLAS_UNIT_DIAG