예제 #1
0
 public uint Overlap(uint row, uint col)
 {
     return(_maskOverlaps[EnumerableExt.LowerTriangularIndex(row, col)]);
 }
예제 #2
0
 public void TestLowerTriangularIndex()
 {
     var r1 = EnumerableExt.LowerTriangularIndex(3, 2);
     var r2 = EnumerableExt.LowerTriangularIndex(2, 2);
 }