* the matrix accumulator
* @return an accumulator procedure
*/
public static MatrixProcedure asAccumulatorProcedure(final MatrixAccumulator accumulator) {
return new MatrixProcedure() {
@Override
public void apply(int i, int j, byte value) {
accumulator.update(i, j, value);