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

◆ iladiag()

integer function iladiag ( character diag)

ILADIAG

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

Purpose:
!>
!> This subroutine translated from a character string specifying if a
!> matrix has unit diagonal or not to the relevant BLAST-specified
!> integer constant.
!>
!> ILADIAG returns an INTEGER.  If ILADIAG < 0, then the input is not a
!> character indicating a unit or non-unit diagonal.  Otherwise ILADIAG
!> returns the constant value corresponding to DIAG.
!> 
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.

Definition at line 55 of file iladiag.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 DIAG
63* ..
64*
65* =====================================================================
66*
67* .. Parameters ..
68 INTEGER BLAS_NON_UNIT_DIAG, BLAS_UNIT_DIAG
69 parameter( blas_non_unit_diag = 131, blas_unit_diag = 132 )
70* ..
71* .. External Functions ..
72 LOGICAL LSAME
73 EXTERNAL lsame
74* ..
75* .. Executable Statements ..
76 IF( lsame( diag, 'N' ) ) THEN
77 iladiag = blas_non_unit_diag
78 ELSE IF( lsame( diag, 'U' ) ) THEN
79 iladiag = blas_unit_diag
80 ELSE
81 iladiag = -1
82 END IF
83 RETURN
84*
85* End of ILADIAG
86*
integer function iladiag(diag)
ILADIAG
Definition iladiag.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: