Esempio n. 1
0
 public Matrix Apply(TElementPosAction action)
 {
     Parallel.For(0, this.m, i => Parallel.For(0, this.n, j => this.elms[i, j] = action.Operation(this.elms[i, j])));
     return(this);
 }
Esempio n. 2
0
 public Matrix Apply(TElementPosAction action)
 {
     Parallel.For(0, this.m, i => Parallel.For(0, this.n, j => this.elms[i, j] = action.Operation(this.elms[i, j])));
     return this;
 }
Esempio n. 3
0
 public Matrix Apply(TElementPosAction action)
 {
     Parallel.For(0, M, i => Parallel.For(0, N, j => Elements[i, j] = action.Operation(Elements[i, j])));
     return(this);
 }
Esempio n. 4
0
 public Matrix Apply(TElementPosAction action)
 {
     Parallel.For(0, M, i => Parallel.For(0, N, j => Elements[i, j] = action.Operation(Elements[i, j])));
     return this;
 }