code: def f(self, x):
  
          
          x = self._flatten(x)
          if self._dtype == 0:
              return numpy.array(_functional._f(self, x))
          else:
              return numpy.array(_functional._fc(self, x))
docs: Calculate the value of the functional for the specified arguments
          (taking any specified mask into account).
  
  
          :param x: the value(s) to evaluate at