<!--
{
  "availability" : [
    "iOS: 18.5.0 -",
    "iPadOS: 18.5.0 -",
    "macCatalyst: 18.5.0 -",
    "macOS: 15.5.0 -",
    "tvOS: 18.5.0 -",
    "visionOS: 2.5.0 -",
    "watchOS: 11.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/SparseHermitian",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@EA@SparseKind_t@SparseHermitian"
  },
  "title" : "SparseHermitian"
}
-->

# SparseHermitian

A flag to describe the type of matrix represented.

```
var SparseHermitian: SparseKind_t { get }
```

## Discussion

A `SparseMatrixStructure` object can represent several types of
matrices:

- `SparseOrdinary`: A “normal” sparse matrix without special structure.
- `SparseTriangular`: A triangular sparse matrix with non-unit diagonal.
  The `SparseTriangle_t:` field indicates which triangle (upper or lower)
  is used.
- `SparseUnitTriangular`: A triangular sparse matrix with unit diagonal.
  The `SparseTriangle_t`: field indicates which triangle (upper or lower)
  is used.
- `SparseSymmetric`: A symmetric  sparse matrix.  The `SparseTriangle_t`
  field indicates which triangle (upper or lower) is used to represent
  the matrix.
- `SparseHermitian`: A Hermitian  sparse matrix.  The `SparseTriangle_t`
  field indicates which triangle (upper or lower) is used to represent
  the matrix.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)