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

The FORTRAN 77 interfaces are specified in the mkl_lapack.fi include file (to be used in Fortran programs) and in the mkl_lapack.h include file (to be used in C programs).

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.


Submit feedback on this help topic

Copyright © 1994 - 2011, Intel Corporation. All rights reserved.