removedup(List, x[indeks] )

removedup(List, x[indeks] ) → List

In a given list, this function sequentially scans according to the provided index and removes other indices that are identical at that index. It reconstructs the list as no elements are equal to the value of designated index.

Example:

<br><O N="LinelObject1" T="Project" Category="Functions" TransAlignRule="1"><br> <!-- created by ParamML Examples on 8/22/2023 --><br> <P N="line" V="[[20,0,10],[25,0,30]]" /><br> <P N="linelength" V="linel(line)" /><br></O><br>

A illustrated above, at parameter “a”, function scans based on the index 1 and removes the identical elements from the list. At parameter “b” function scans based on the index 0 and removes the identical elements from the list.

Last updated