code: def check_precomputed_polar(a, side, expected_u, expected_p):
      # Compare the result of the polar decomposition to a
      # precomputed result.
      u, p = polar(a, side=side)
      assert_allclose(u, expected_u, atol=1e-15)
      assert_allclose(p, expected_p, atol=1e-15)
  
file_path: catboost/contrib/python/scipy/py2/scipy/linalg/tests/test_decomp_polar.py
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.linalg import norm
  from numpy.testing import assert_, assert_allclose, assert_equal
  from scipy.linalg import polar, eigh
label_desc: Use image node_id 1 for calling a global function with example usage: check_precomputed_polar(a, side, expected_u, expected_p) without return types