code: def sync_dynamic_allocate_correlation_matrix(
      pointer_dynamic, iteration
  ):
      analyse_iteration = iteration
      if analyse_iteration is None:
          analyse_iteration = sync_dynamic_get_size(pointer_dynamic) - 1
  
      ccore = ccore_library.get()
  
      ccore.sync_dynamic_allocate_correlation_matrix.restype = POINTER(
          pyclustering_package
      )
      package = ccore.sync_dynamic_allocate_correlation_matrix(
          pointer_dynamic, c_uint(analyse_iteration)
      )
  
      result = package_extractor(package).extract()
      ccore.free_pyclustering_package(package)
  
      return result
  
file_path: pyclustering/pyclustering/core/sync_wrapper.py
imports: from pyclustering.core.wrapper import *
  from pyclustering.core.pyclustering_package import pyclustering_package, package_extractor
label_desc: Use image node_id 12 for calling a global function with example usage: sync_dynamic_allocate_correlation_matrix(pointer_dynamic, iteration) and returns: result