31 int ind_plus = ind + 1;
34 for (
int j =
m_size; j > ind_plus; j--)
62 if (ind >=
m_size)
return 0;
DYN_FUNC iterator insert(T val)
DYN_FUNC iterator find(T val)
DYN_FUNC uint count(T val)
This is an implementation of AdditiveCCD based on peridyno.
DYN_FUNC int leftBound(T target, T *startLoc, uint maxSize)
Find the left bound of a target with a binary search algorithm.
DYN_FUNC int rightBound(T target, T *startLoc, uint maxSize)
Find the right bound of a target with a binary search algorithm.