docs: void alphaFunction(double alpha[], List<Double> x, int dim, int type) {
      if (dim == 2) {
        if (type == 21) {
          alpha[0] = x.get(0);
          alpha[1] = 1 - Math.sqrt(x.get(0));
        }
  
        if (type == 22) {
          alpha[0] = x.get(0);
          alpha[1] = 1 - x.get(0) * x.get(0);
        }
  
        if (type == 23) {
          alpha[0] = x.get(0);
          alpha[1] = 1 - Math.sqrt(alpha[0]) - alpha[0]
            * Math.sin(10 * alpha[0] * alpha[0] * Math.PI);
        }
  
        if (type == 24) {
          alpha[0] = x.get(0);
          alpha[1] = 1 - x.get(0) - 0.05 * Math.sin(4 * Math.PI * x.get(0));
        }
      } else {
        if (type == 31) {
          alpha[0] = Math.cos(x.get(0) * Math.PI / 2) * Math.cos(x.get(1) * Math.PI / 2);
          alpha[1] = Math.cos(x.get(0) * Math.PI / 2) * Math.sin(x.get(1) * Math.PI / 2);
          alpha[2] = Math.sin(x.get(0) * Math.PI / 2);
        }
  
        if (type == 32) {
          alpha[0] = 1 - Math.cos(x.get(0) * Math.PI / 2)
            * Math.cos(x.get(1) * Math.PI / 2);
          alpha[1] = 1 - Math.cos(x.get(0) * Math.PI / 2)
            * Math.sin(x.get(1) * Math.PI / 2);
          alpha[2] = 1 - Math.sin(x.get(0) * Math.PI / 2);
        }
  
        if (type == 33) {
          alpha[0] = x.get(0);
          alpha[1] = x.get(1);
          alpha[2] = 3
            - (Math.sin(3 * Math.PI * x.get(0)) + Math.sin(3 * Math.PI * x.get(1))) - 2
            * (x.get(0) + x.get(1));
        }
  
        if (type == 34) {
          alpha[0] = x.get(0) * x.get(1);
          alpha[1] = x.get(0) * (1 - x.get(1));
          alpha[2] = (1 - x.get(0));
        }
      }
    }