hatchet.cython_modules.libs package

Submodules

hatchet.cython_modules.libs.graphframe_modules module

hatchet.cython_modules.libs.graphframe_modules.fast_not_isin(arr1, arr2, arr1_len, arr2_len)

Check if elements in arr1 exist in arr2.

A fast check to see if each element in arr1 exists in arr2. This returns a vector mask equivalent to what the operation ~df.isin( … ) would return.

Parameters:
  • arr1 (unsigned long long [][]) – The array of values we are searching for.

  • arr2 (unsigned long long [][]) – The sorted array of values we are searching in.

Returns:

A boolean mask over arr1 indicating whether each element is or is not in

the function. True indicates that an element is not in arr2.

Return type:

(bool [])

hatchet.cython_modules.libs.graphframe_modules.insert_one_for_self_nodes(snio_len, self_missing_node, snio_indices)

Adds a ‘1’ where rows are in self but not in other.

hatchet.cython_modules.libs.reader_modules module

hatchet.cython_modules.libs.reader_modules.subtract_exclusive_metric_vals(nid, parent_nid, metrics, num_stmt_nodes, stride)

Module contents