Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MatrixFromColumnMajorLinearArray{T}"/> class.
 /// </summary>
 /// <param name="wrapper">Wrapper that wraps a linear array in column major order and provides the number of rows and columns.</param>
 public MatrixFromColumnMajorLinearArray(MatrixWrapperStructForColumnMajorOrderLinearArray <T> wrapper)
     : base(wrapper)
 {
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ROMatrixFromColumnMajorLinearArray{T}"/> class.
 /// </summary>
 /// <param name="wrapper">Wrapper that wraps a linear array in column major order and provides the number of rows and columns.</param>
 public ROMatrixFromColumnMajorLinearArray(MatrixWrapperStructForColumnMajorOrderLinearArray <T> wrapper)
 {
     _array   = wrapper.Array;
     _rows    = wrapper.RowCount;
     _columns = wrapper.ColumnCount;
 }