code: public void setElement (int row, int col, float value) {
          switch (col) {
          case 0:
              switch (row) {
              case 0: m00 = value; return;
              case 1: m01 = value; return;
              case 2: m02 = value; return;
              }
              break;
          case 1:
              switch (row) {
              case 0: m10 = value; return;
              case 1: m11 = value; return;
              case 2: m12 = value; return;
              }
              break;
          case 2:
              switch (row) {
              case 0: m20 = value; return;
              case 1: m21 = value; return;
              case 2: m22 = value; return;
              }
              break;
          }
          throw new ArrayIndexOutOfBoundsException();
      }
docs: Sets the matrix element at the specified row and column.