# PetscCDFConstant1D
CDF for the uniform distribution in 1D 
## Synopsis
```
#include "petscdt.h" 
PetscErrorCode PetscCDFConstant1D(const PetscReal x[], const PetscReal dummy[], PetscReal p[])
```
Not collective


## Input Parameter

- ***x -*** Coordinate in [-1, 1]



## Output Parameter

- ***p -*** The cumulative probability at x





## See Also
 `PetscPDFConstant1D()`, `PetscPDFSampleConstant1D()`, `PetscCDFConstant2D()`, `PetscCDFConstant3D()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/interface/dtprob.c.html#PetscCDFConstant1D">src/dm/dt/interface/dtprob.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/interface/dtprob.c)


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