Example #1
0
 protected Sort00() :
     base(
         expected: new DoubleMatrixState(
             asColumnMajorDenseArray: new double[4] { 1, 2, 3, 4 },
             numberOfRows: 2,
             numberOfColumns: 2),
         data: TestableDoubleMatrix54.Get(),
         sortDirection: SortDirection.Ascending)
 {
 }
Example #2
0
 protected SortIndex00() :
     base(
         expected: new SortIndexResults() {
     SortedData    = DoubleMatrix.Dense(2, 2, new double[4] { 1, 2, 3, 4 }),
     SortedIndexes = IndexCollection.FromArray(new int[4] { 1, 3, 2, 0 })
 },
         data: TestableDoubleMatrix54.Get(),
         sortDirection: SortDirection.Ascending)
 {
 }