code: def _diff_pade3(A, E, ident):
      b = (120.0, 60.0, 12.0, 1.0)
      A2 = A.dot(A)
      M2 = np.dot(A, E) + np.dot(E, A)
      U = A.dot(b[3] * A2 + b[1] * ident)
      V = b[2] * A2 + b[0] * ident
      Lu = A.dot(b[3] * M2) + E.dot(b[3] * A2 + b[1] * ident)
      Lv = b[2] * M2
      return U, V, Lu, Lv
  
file_path: catboost/contrib/python/scipy/py2/scipy/linalg/_expm_frechet.py
imports: from __future__ import division, print_function, absolute_import
  import numpy
  import scipy.linalg
label_desc: Use image node_id 3 for calling a global function with example usage: _diff_pade3(A, E, ident) and returns: U,  V,  Lu,  Lv