code: def _maximum_given_samples(f, pts, map=None):
      """
      use given sample pts to calculate maximum for function f
  
      Inputs:
          f -- a function that returns a single value, given a list of inputs
          pts -- a list of sample points
          map -- the mapping function [Default is builtins.map]"""
      if map is None:
          from builtins import map
      from numpy import transpose, atleast_2d
  
      return max(list(map(f, atleast_2d(transpose(pts)).tolist())))
  
file_path: mystic/mystic/math/samples.py
label_desc: Use image node_id 11 for calling a global function with example usage: _maximum_given_samples(f, pts, map) and returns: max