Esempio n. 1
0
 public SubMatrixProjection(IMatrixIndexable <T> source, Range rows, Range columns)
 {
     _rows    = rows;
     _columns = columns;
 }
Esempio n. 2
0
 public SelectMatrix(IMatrixIndexable <TSrc> source, Func <TSrc, TDest> selectFn)
 {
     _source   = source;
     _selectFn = selectFn;
 }
Esempio n. 3
0
 public MatrixColProjection(IMatrixIndexable <T> source, Range rows, int column)
 {
     _source = source;
     _rows   = rows;
     _column = column;
 }
Esempio n. 4
0
 public MatrixRowProjection(IMatrixIndexable <T> source, int row, Range columns)
 {
     _source  = source;
     _row     = row;
     _columns = columns;
 }
Esempio n. 5
0
 public static Matrix <TDest> Select <TSource, TDest>(this IMatrixIndexable <TSource> matrix, Func <TSource, TDest> selectFn)
 {
     return(new SelectMatrix <TSource, TDest>(matrix, selectFn));
 }
Esempio n. 6
0
 public static Box <T> AsBox <T>(this IMatrixIndexable <T> matrix)
 {
     return(new Box2 <T>(matrix));
 }
Esempio n. 7
0
 public Box2(IMatrixIndexable <T> source)
 {
     _source = source;
 }