remove_succ_dup_indx

Takes a vector and returns a vector containing the indices of the points from the input vector, which are non-duplicate points (for successive points).

Syntax

remove_succ_dup_indx(vector)

Argument

vector
The vector for which successive duplicate points are to be removed.

Example

In the following example, the vector is as follows:
X Values (p1w1c1.x): 1,2,3,4,5,6,7,8,9,10
Y Values (p1w1c1.y): 1,1,2,2,3,3,4,4,5,5
Templex Expression Results
orig = {p1w1c1.y}

mod = {remove_succ_dup_indx(p1w1c1.y)}

orig = 1,1,2,2,3,3,4,4,5,5

mod = 0,2,4,6,8