LAPACK 3.12.1
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ ilatrans()

integer function ilatrans ( character trans)

ILATRANS

Download ILATRANS + dependencies [TGZ] [ZIP] [TXT]

Purpose:
!>
!> This subroutine translates from a character string specifying a
!> transposition operation to the relevant BLAST-specified integer
!> constant.
!>
!> ILATRANS returns an INTEGER.  If ILATRANS < 0, then the input is not
!> a character indicating a transposition operator.  Otherwise ILATRANS
!> returns the constant value corresponding to TRANS.
!> 
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.

Definition at line 55 of file ilatrans.f.

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*
integer function ilatrans(trans)
ILATRANS
Definition ilatrans.f:56
logical function lsame(ca, cb)
LSAME
Definition lsame.f:48
Here is the call graph for this function:
Here is the caller graph for this function: