class_docstr: Trigonometric 2 objective function.
  
  This class defines the Trigonometric 2 [1]_ global optimization problem. This
  is a multimodal minimization problem defined as follows:
  
  .. math::
  
      f_{\text{Trigonometric2}}(x) = 1 + \sum_{i=1}^{n} 8 \sin^2
                                     \left[7(x_i - 0.9)^2 \right]
                                     + 6 \sin^2 \left[14(x_i - 0.9)^2 \right]
                                     + (x_i - 0.9)^2
  
  Here, :math:`n` represents the number of dimensions and
  :math:`x_i \in [-500, 500]` for :math:`i = 1, ..., n`.
  
  *Global optimum*: :math:`f(x) = 1` for :math:`x_i = 0.9` 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
  
      vec = (
          8 * sin(7 * (x - 0.9) ** 2) ** 2
          + 6 * sin(14 * (x - 0.9) ** 2) ** 2
          + (x - 0.9) ** 2
      )
      return 1.0 + sum(vec)
  
imports: from numpy import abs, asarray, cos, exp, arange, pi, sin, sum, atleast_2d
  from .go_benchmark import Benchmark
label_desc: Use image node_id 2 for calling the Trigonometric02 obj's underlying member method code with example usage: obj.fun(x) and returns: unknown