:orphan:
# VecTaggerCDFMethod
Determines what method is used to compute absolute values from cumulative distribution values (e.g., what value is the preimage of .95 in the cdf). 
## Synopsis
```
typedef enum {
  VECTAGGER_CDF_GATHER,
  VECTAGGER_CDF_ITERATIVE,
  VECTAGGER_CDF_NUM_METHODS
} VecTaggerCDFMethod;
```

## Values

- ***`VECTAGGER_CDF_GATHER` -*** gather results to rank 0, perform the computation and broadcast the result
- ***`VECTAGGER_CDF_ITERATIVE` -*** compute the results on all ranks iteratively using `MPI_Allreduce()`





## Note
Relevant only in parallel: in serial it is directly computed.


## See Also
 [](ch_vectors), `Vec`, `VecTagger`, `VecTaggerType`, `VecTaggerCreate()`, `VecTaggerCDFSetMethod()`, `VecTaggerCDFMethods`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscvec.h.html#VecTaggerCDFMethod">include/petscvec.h</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscvec.h)


[Index of all Vec routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
