---
name: "iladiag"
section: "3lapack"
platform: "linux"
package: "liblapack-doc"
version: "3.2.1-8"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/iladiag/3lapack"
---

# iladiag(3lapack)

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

## NAME

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

## SYNOPSIS

- INTEGER FUNCTION

  ILADIAG( DIAG )

- CHARACTER

  DIAG

## PURPOSE

This subroutine translated from a character string specifying if a matrix has unit diagonal or not to the relevant BLAST-specified integer constant. ILADIAG returns an INTEGER.  If ILADIAG \< 0, then the input is not a character indicating a unit or non-unit diagonal.  Otherwise ILADIAG returns the constant value corresponding to DIAG.\

## ARGUMENTS

\= 'N':  A is non-unit triangular; = 'U':  A is unit triangular.
