<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/SparseAttributesComplex_t/kind",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@SA@SparseAttributesComplex_t@FI@kind"
  },
  "title" : "kind"
}
-->

# kind

A flag to describe the type of matrix represented.

```
var kind: SparseKind_t { get set }
```

## 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)