|
libsc 2.8.7.187-a49fd
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 maximum-first priority queue is implemented with sc_array_pqueue_insert, sc_array_pqueue_pop and further helpers.