Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 10/31/2024
Public
Document Table of Contents

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

  • mkl.fi

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.