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