---
title: CBLAS_ORDER
framework: accelerate
role: symbol
role_heading: Structure
path: accelerate/cblas_order
---

# CBLAS_ORDER

Indicates whether a matrix is in row-major or column-major order.

## Declaration

```swift
struct CBLAS_ORDER
```

## Overview

Overview 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.

## Topics

### Initializers

- [init(_:)](accelerate/cblas_order/init(_:).md)
- [init(rawValue:)](accelerate/cblas_order/init(rawvalue:).md)

### Instance Properties

- [rawValue](accelerate/cblas_order/rawvalue.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)

## See Also

### Constants

- [CBLAS_TRANSPOSE](accelerate/cblas_transpose.md)
- [CBLAS_UPLO](accelerate/cblas_uplo.md)
- [CBLAS_DIAG](accelerate/cblas_diag.md)
- [CBLAS_SIDE](accelerate/cblas_side.md)
