---
name: "iladiag.f"
section: "3"
platform: "linux"
package: "lapack-doc"
version: "3.12.1-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/iladiag.f"
---

# iladiag.f(3)

## NAME

SRC/iladiag.f

## SYNOPSIS

### Functions/Subroutines

integer function **iladiag** (diag)\
 **ILADIAG**

## Function/Subroutine Documentation

### integer function iladiag (character diag)

**ILADIAG**

**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.
!>
```

**Author**

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line **57** of file **iladiag.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
