code: public double f(double[] x) {
      double result = 0.0;
  
      Benchmark.shift(m_z, x, m_o);
      Benchmark.rotate(m_zM, m_z, m_matrix);
  
      double sum = 0.0;
  
      for (int i = 0; i < mDimension; i++) {
        sum += Math.pow(constant, i) * m_zM[i] * m_zM[i];
      }
  
      result = sum + mBias;
  
      return (result);
    }
docs: Function body