Intel® oneAPI Math Kernel Library Developer Reference - Fortran

iladiag

Translates a character string specifying whether a matrix has a unit diagonal to the relevant BLAST-specified integer constant.

Syntax

val = iladiag( diag )

Include Files

Description

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.

Input Parameters

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.

Output Parameters

val

INTEGER

Value returned by the function.