Intel® oneAPI Math Kernel Library Developer Reference - Fortran
Translates a character string specifying whether a matrix has a unit diagonal to the relevant BLAST-specified integer constant.
val = iladiag( diag )
The iladiag function translates a character string specifying whether a matrix has a unit diagonal or not to the relevant BLAST-specified integer constant.
The function returns an INTEGER. If val < 0, the input is not a character indicating a unit or non-unit diagonal. Otherwise, the function returns the constant value corresponding to diag.
CHARACTER*1.
Specifies the form of the system of equations:
If diag = 'N': A is non-unit triangular.
If diag = 'U': A is unit triangular.
INTEGER
Value returned by the function.