LAPACK 3.12.1
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
ilauplo.f
Go to the documentation of this file.
1*> \brief \b ILAUPLO
2*
3* =========== DOCUMENTATION ===========
4*
5* Online html documentation available at
6* http://www.netlib.org/lapack/explore-html/
7*
8*> Download ILAUPLO + dependencies
9*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ilauplo.f">
10*> [TGZ]</a>
11*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/ilauplo.f">
12*> [ZIP]</a>
13*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/ilauplo.f">
14*> [TXT]</a>
15*
16* Definition:
17* ===========
18*
19* INTEGER FUNCTION ILAUPLO( UPLO )
20*
21* .. Scalar Arguments ..
22* CHARACTER UPLO
23* ..
24*
25*
26*> \par Purpose:
27* =============
28*>
29*> \verbatim
30*>
31*> This subroutine translated from a character string specifying a
32*> upper- or lower-triangular matrix to the relevant BLAST-specified
33*> integer constant.
34*>
35*> ILAUPLO returns an INTEGER. If ILAUPLO < 0, then the input is not
36*> a character indicating an upper- or lower-triangular matrix.
37*> Otherwise ILAUPLO returns the constant value corresponding to UPLO.
38*> \endverbatim
39*
40* Arguments:
41* ==========
42*
43*
44* Authors:
45* ========
46*
47*> \author Univ. of Tennessee
48*> \author Univ. of California Berkeley
49*> \author Univ. of Colorado Denver
50*> \author NAG Ltd.
51*
52*> \ingroup ilauplo
53*
54* =====================================================================
55 INTEGER FUNCTION ilauplo( UPLO )
56*
57* -- LAPACK computational routine --
58* -- LAPACK is a software package provided by Univ. of Tennessee, --
59* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
60*
61* .. Scalar Arguments ..
62 CHARACTER uplo
63* ..
64*
65* =====================================================================
66*
67* .. Parameters ..
68 INTEGER blas_upper, blas_lower
69 parameter( blas_upper = 121, blas_lower = 122 )
70* ..
71* .. External Functions ..
72 LOGICAL lsame
73 EXTERNAL lsame
74* ..
75* .. Executable Statements ..
76 IF( lsame( uplo, 'U' ) ) THEN
77 ilauplo = blas_upper
78 ELSE IF( lsame( uplo, 'L' ) ) THEN
79 ilauplo = blas_lower
80 ELSE
81 ilauplo = -1
82 END IF
83 RETURN
84*
85* End of ILAUPLO
86*
87 END
integer function ilauplo(uplo)
ILAUPLO
Definition ilauplo.f:56
logical function lsame(ca, cb)
LSAME
Definition lsame.f:48