Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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.