---
title: sparse_index
framework: accelerate
role: symbol
role_heading: Type Alias
path: accelerate/sparse_index
---

# sparse_index

The index type.

## Declaration

```swift
typealias sparse_index = Int64
```

## Discussion

Discussion All indices, including those in a sparse vectors index array, are positive values. important: Apple provides the BLAS and LAPACK libraries under the Accelerate framework to be in line with LAPACK 3.9.1. Starting with iOS 26, iPadOS 26, macOS 26, tvOS 26, visionOS 26, and watchOS 26, the libraries are in line with LAPACK 3.12.0. These new interfaces provide additional functionality, as well as a new ILP64 interface. To use the new interfaces, define ACCELERATE_NEW_LAPACK before including the Accelerate or vecLib headers. For ILP64 interfaces, also define ACCELERATE_LAPACK_ILP64. For Swift projects, specify ACCELERATE_NEW_LAPACK=1 and ACCELERATE_LAPACK_ILP64=1 as preprocessor macros in Xcode build settings under Apple Clang - Preprocessing > Preprocessor Macros.

## See Also

### Supporting types

- [sparse_dimension](accelerate/sparse_dimension.md)
- [sparse_matrix_double](accelerate/sparse_matrix_double.md)
- [sparse_matrix_float](accelerate/sparse_matrix_float.md)
- [sparse_status](accelerate/sparse_status.md)
