Click or drag to resize

DoubleMatrixRowStride Property

Gets the increment between successive elements in a row.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public int RowStride { get; }

Property Value

Int32
Example
C#
DoubleMatrix A = new DoubleMatrix( 5, 5, 10.0 );
DoubleDataBlock matData = A.Data;
matData[0];           // A[0,0]
matData[A.RowStride]; // A[1,0]
matData[3*RowStride]; // A[3,0]
See Also