class_docstr: A Function class used to hold single-objective functions.
class_docstr_tok: ["A","Function","class","used","to","hold","single-objective","functions","."]
docstr: Callable to avoid using the `pointer` property.
  
  Args:
      x: Array of positions.
  
  Returns:
      (float): Single-objective function fitness.
docstr_tok: ["Callable","to","avoid","using","the","`","pointer","`","property",".","Args",":","x",":","Array","of","positions",".","Returns",":","(","float",")",":","Single-objective","function","fitness","."]
code: def __call__(self, x: np.ndarray) -> float:
      """Callable to avoid using the `pointer` property.
  
      Args:
          x: Array of positions.
  
      Returns:
          (float): Single-objective function fitness.
  
      """
  
      return self.pointer(x)
  
file_path: opytimizer/opytimizer/core/function.py
imports: from inspect import signature
  import numpy
  import opytimizer.utils.exception
  from opytimizer.utils import logging
label_desc: Use image node_id 2 for calling the Function obj's underlying member method code with example usage: obj.__call__(x) and returns: self