class_docstr: Declare an interface common to all supported algorithms.
  :class:`SampleMorris` uses this interface to call the algorithm
  defined by a ConcreteStrategy.
docstr: Compute distance between two trajectories
  
  Parameters
  ----------
  m : np.ndarray
  
  l : np.ndarray
  
  Returns
  -------
  numpy.ndarray
docstr_tok: ["Compute","distance","between","two","trajectories","Parameters","--","--","--","--","--","m",":","np.ndarray","l",":","np.ndarray","Returns","--","--","--","-","numpy.ndarray"]
code: def compute_distance(m, l):  # noqa: E741
      """Compute distance between two trajectories
  
      Parameters
      ----------
      m : np.ndarray
  
      l : np.ndarray
  
      Returns
      -------
      numpy.ndarray
      """
  
      if np.shape(m) != np.shape(l):
          raise ValueError("Input matrices are different sizes")
      if np.array_equal(m, l):
          # print("Trajectory %s and %s are equal" % (m, l))
          distance = 0
      else:
          distance = np.array(np.sum(cdist(m, l)), dtype=np.float32)
  
      return distance
  
file_path: SALib/src/SALib/sample/morris/strategy.py
imports: import abc
  import numpy
  from scipy.spatial.distance import cdist
label_desc: Use image node_id 7 for calling the Strategy obj's underlying member method code with example usage: obj.compute_distance(m, l) and returns: distance