code: def _hypersphere_area(dim, radius):
      # https://en.wikipedia.org/wiki/N-sphere#Closed_forms
      return (
          2 * np.pi ** (dim / 2) / gamma(dim / 2) * radius ** (dim - 1)
      )
  
imports: import numpy
  import itertools
  from numpy.testing import assert_equal, assert_almost_equal, assert_array_equal, assert_array_almost_equal
  import pytest
  from pytest import raises
  from scipy.spatial import SphericalVoronoi, distance
  from scipy.optimize import linear_sum_assignment
  from scipy.constants import golden
  from scipy.special import gamma
label_desc: Use image node_id 7 for calling a global function with example usage: _hypersphere_area(dim, radius) and returns: unknown