117. lib.clust_c — Accelerated cluster optimization

This module provides compiled C clustering functions. These functions are not intended for the end user. They are called internally by other pyFormex functions to speed up their operation.

117.1. Functions defined in module lib.clust_c

lib.clust_c.cluster()
Parameters:
  • neigh (int32 array (npoints, maxneigh)) –

  • nneigh (int32 array (npoints)) –

  • area (float32 array (npoints)) –

  • cent (float32 array (npoints, 3)) –

  • edges (int32 array (nedges, 2)) –

  • nclus (int32) – The targeted number of points

  • maxiter (int32) – The maximum number of iterations