class_docstr: Xin-She Yang 2 objective function.
  
  This class defines the Xin-She Yang 2 [1]_ global optimization problem.
  This is a multimodal minimization problem defined as follows:
  
  .. math::
  
      f_{\text{XinSheYang02}}(\x) = \frac{\sum_{i=1}^{n} \lvert{x_{i}}\rvert}
                                    {e^{\sum_{i=1}^{n} \sin\left(x_{i}^{2.0}
                                    \right)}}
  
  Here, :math:`n` represents the number of dimensions and
  :math:`x_i \in [-2\pi, 2\pi]` for :math:`i = 1, ..., n`.
  
  *Global optimum*: :math:`f(x) = 0` for :math:`x_i = 0` for
  :math:`i = 1, ..., n`
  
  .. [1] Jamil, M. & Yang, X.-S. A Literature Survey of Benchmark Functions
  For Global Optimization Problems Int. Journal of Mathematical Modelling
  and Numerical Optimisation, 2013, 4, 150-194.
code: def fun(self, x, *args):
      self.nfev += 1
  
      return sum(abs(x)) * exp(-sum(sin(x**2.0)))
  
imports: import numpy
  from numpy import abs, sum, sin, cos, pi, exp, arange, prod, sqrt
  from .go_benchmark import Benchmark
label_desc: Use image node_id 2 for calling the XinSheYang02 obj's underlying member method code with example usage: obj.fun(x) and returns: unknown