libsc 2.8.5.210-64a7
The SC library provides support for parallel scientific applications.
|
The sc_array object provides a dynamic array of equal-size elements. More...
#include <sc_containers.h>
The sc_array object provides a dynamic array of equal-size elements.
Elements are accessed by their 0-based index. Their address may change. The number of elements (== elem_count) of the array can be changed by sc_array_resize and sc_array_rewind. Elements can be sorted with sc_array_sort. If the array is sorted, it can be searched with sc_array_bsearch. A priority queue is implemented with pqueue_add and pqueue_pop (untested).