Beispiel #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);
 }
Beispiel #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;
 }
Beispiel #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);
 }
Beispiel #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;
 }