reset method

void reset()

Sets all elements to zero

Implementation

void reset() {
  for (int i = 0, l = matrix.length; i != l; i++) {
    matrix[i] = 0;
  }
}