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

# SparseAttributes_t

A structure that represents the attributes of a matrix.

```
struct SparseAttributes_t
```

## Topics

### Creating a New Attributes Structure

[`init()`](/documentation/Accelerate/SparseAttributes_t/init())

Returns a new sparse attributes structure.

### Instance Properties

[`transpose`](/documentation/Accelerate/SparseAttributes_t/transpose)

A Boolean value that specifies whether to implicitly transpose the matrix.

[`triangle`](/documentation/Accelerate/SparseAttributes_t/triangle)

An enumeration that specifies which triangle unit-triangular, triangular, and symmetric matrices need to use.

[`SparseTriangle_t`](/documentation/Accelerate/SparseTriangle_t)

A structure that defines which triangle a symmetric matrix stores, or whether a triangular matrix is upper or lower.

[`kind`](/documentation/Accelerate/SparseAttributes_t/kind)

An eumeration that specifies whether the matrix is ordinary, unit-triangular, triangular, or symmetric.

[`SparseKind_t`](/documentation/Accelerate/SparseKind_t)

A structure that defines whether the matrix is ordinary, symmetric, or triangular.



---

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)