petsc-3.7.3 2016-07-24
Report Typos and Errors

# VecUniqueEntries

Compute the number of unique entries, and those entries

### Synopsis

    #include "petscvec.h"
    PetscErrorCode  VecUniqueEntries(Vec vec, PetscInt *n, PetscScalar **e)

Collective on Vec

### Input Parameter

vec -the vector

### Output Parameters

| n | - The number of unique entries
| e | - The entries

Level:intermediate
Location: src/vec/vec/utils/vinv.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages