Generated by DocFX

Enum MatrixOrder

Matrix major order. The default is to use C-style Row-Major order.

Namespace: ISynergy.Framework.Mathematics
Assembly: ISynergy.Framework.Mathematics.dll
Syntax
public enum MatrixOrder : int
Remarks

In computing, row-major order and column-major order describe methods for arranging multidimensional arrays in linear storage such as memory. In row-major order, consecutive elements of the rows of the array are contiguous in memory; in column-major order, consecutive elements of the columns are contiguous. Array layout is critical for correctly passing arrays between programs written in different languages. It is also important for performance when traversing an array because accessing array elements that are contiguous in memory is usually faster than accessing elements which are not, due to caching. In some media such as tape or NAND flash memory, accessing sequentially is orders of magnitude faster than nonsequential access.

References:

  • Wikipedia contributors. "Row-major order." Wikipedia, The Free Encyclopedia. Wikipedia, The Free Encyclopedia, 13 Feb. 2016. Web. 22 Mar. 2016.

Fields

Name Description
CRowMajor

Row-major order (C, C++, C#, SAS, Pascal, NumPy default).

Default

Default (Row-Major, C/C++/C# order).

FortranColumnMajor

Column-major oder (Fotran, MATLAB, R).

Extension Methods

EnumExtensions.GetSymbol<MatrixOrder>()
ArrayExtensions.Concatenate<MatrixOrder>(MatrixOrder[])
CollectionExtensions.FromHierarchy<MatrixOrder>(Func<MatrixOrder, MatrixOrder>, Func<MatrixOrder, Boolean>)
ObjectExtensions.Clone<MatrixOrder>()
ObjectExtensions.AddressOf<MatrixOrder>()
ObjectExtensions.ToByteArray<MatrixOrder>()
ReflectionExtensions.GetPropertyInfo<MatrixOrder, TValue>(Expression<Func<MatrixOrder, TValue>>)