Contents

BNNSDataLayout2DFirstMajor

A constant that represents a 2D first-major matrix.

Declaration

var BNNSDataLayout2DFirstMajor: BNNSDataLayout { get }

Discussion

The value (i, j) is at index j * stride[0] + i * stride[1].

  • size[0] is the size of the first dimension (i).

  • size[1] is the size of the second dimension (j).

This is the BLAS/LAPACK row-major equivalent.

See Also

2D Data Layouts