iladiag#

Functions

INT iladiag(
    const char* diag
);
INT iladiag(const char *diag)#

This subroutine translated from a character string specifying if a matrix has unit diagonal or not to the relevant BLAST-specified integer constant.

Parameters

in
diag

diag='N': the matrix has a non-unit diagonal. diag='U': the matrix has a unit diagonal.

Returns:

An integer. If the returned value <0, then the input is not a character indicating a unit or non-unit diagonal. Otherwise the constant value corresponding to diag is returned: 131 (BLAS_NON_UNIT_DIAG) for diag='N', 132 (BLAS_UNIT_DIAG) for diag='U'.