docs: public float[] calculateX(float[] t) {
      float[] x = new float[m];
  
      for (int i = 0; i < m - 1; i++) {
        x[i] = Math.max(t[m - 1], a[i]) * (t[i] - (float) 0.5) + (float) 0.5;
      }
  
      x[m - 1] = t[m - 1];
  
      return x;
    }