예제 #1
0
 public DimSpec Project(Range range)
 {
     switch (Kind)
     {
         case EKind.Index: return range.Unproject((int)this);
         case EKind.Range: return range.Unproject((Range)this);
         default: throw new NotImplementedException();
     }
 }
예제 #2
0
 public override T this[int i, int j]
 {
     get { return(_source[_rows.Unproject(i), _columns.Unproject(j)]); }
 }
예제 #3
0
 public override T this[int i]
 {
     get { return(_source[_row, _columns.Unproject(i)]); }
 }
예제 #4
0
 public override T this[int i]
 {
     get { return(_data[_projRange.Unproject(i)]); }
 }