docs: public static PermutationMatrix getInstance(int n)
      {
          PermutationMatrix pm = map.get(n);
          if (pm == null)
          {
              pm = new PermutationMatrix(n);
              map.put(n, pm);
          }
          return pm;
      }