code: public void setAll(double value) {
          MatrixIterator it = iterator();
  
          while (it.hasNext()) {
              it.next();
              it.set(value);
          }
      }
docs: Sets all elements of this matrix to the given {@code value}.
  
  @param value the element's new value