LAPACK 3.12.1
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
ilatrans.f
Go to the documentation of this file.
1*> \brief \b ILATRANS
2*
3* =========== DOCUMENTATION ===========
4*
5* Online html documentation available at
6* http://www.netlib.org/lapack/explore-html/
7*
8*> Download ILATRANS + dependencies
9*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ilatrans.f">
10*> [TGZ]</a>
11*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/ilatrans.f">
12*> [ZIP]</a>
13*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/ilatrans.f">
14*> [TXT]</a>
15*
16* Definition:
17* ===========
18*
19* INTEGER FUNCTION ILATRANS( TRANS )
20*
21* .. Scalar Arguments ..
22* CHARACTER TRANS
23* ..
24*
25*
26*> \par Purpose:
27* =============
28*>
29*> \verbatim
30*>
31*> This subroutine translates from a character string specifying a
32*> transposition operation to the relevant BLAST-specified integer
33*> constant.
34*>
35*> ILATRANS returns an INTEGER. If ILATRANS < 0, then the input is not
36*> a character indicating a transposition operator. Otherwise ILATRANS
37*> returns the constant value corresponding to TRANS.
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 ilatrans
53*
54* =====================================================================
55 INTEGER FUNCTION ilatrans( TRANS )
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 trans
63* ..
64*
65* =====================================================================
66*
67* .. Parameters ..
68 INTEGER blas_no_trans, blas_trans, blas_conj_trans
69 parameter( blas_no_trans = 111, blas_trans = 112,
70 $ blas_conj_trans = 113 )
71* ..
72* .. External Functions ..
73 LOGICAL lsame
74 EXTERNAL lsame
75* ..
76* .. Executable Statements ..
77 IF( lsame( trans, 'N' ) ) THEN
78 ilatrans = blas_no_trans
79 ELSE IF( lsame( trans, 'T' ) ) THEN
80 ilatrans = blas_trans
81 ELSE IF( lsame( trans, 'C' ) ) THEN
82 ilatrans = blas_conj_trans
83 ELSE
84 ilatrans = -1
85 END IF
86 RETURN
87*
88* End of ILATRANS
89*
90 END
integer function ilatrans(trans)
ILATRANS
Definition ilatrans.f:56
logical function lsame(ca, cb)
LSAME
Definition lsame.f:48