<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/BNNS/Shape/matrixFirstMajor(_:_:stride:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:10Accelerate4BNNSO5ShapeO16matrixFirstMajoryAESi_S2i_SittcAEmF"
  },
  "title" : "BNNS.Shape.matrixFirstMajor(_:_:stride:)"
}
-->

# BNNS.Shape.matrixFirstMajor(_:_:stride:)

A constant that represents a shape with a 2D first-major data layout.

```
case matrixFirstMajor(Int, Int, stride: (Int, Int) = (0, 0))
```

---

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)