:orphan: # ISSortRemoveDups Sorts the indices of an index set, removing duplicates. ## Synopsis ``` #include "petscis.h" PetscErrorCode ISSortRemoveDups(IS is) ``` Collective ## Input Parameter - ***is -*** the index set ## See Also `IS`, `ISSort()`, `ISSorted()` ## Level intermediate ## Location src/vec/is/is/interface/index.c ## Implementations ISSortRemoveDups_Block in src/vec/is/is/impls/block/block.c
ISSortRemoveDups_General in src/vec/is/is/impls/general/general.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/is/interface/index.c) [Index of all IS routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)