:orphan: # PetscPDFConstant1D PDF for the uniform distribution in 1D ## Synopsis ``` #include "petscdt.h" PetscErrorCode PetscPDFConstant1D(const PetscReal x[], const PetscReal dummy[], PetscReal p[]) ``` Not Collective ## Input Parameter - ***x -*** Coordinate in [-1, 1] ## Output Parameter - ***p -*** The probability density at x ## See Also `PetscCDFConstant1D()`, `PetscPDFSampleConstant1D()`, `PetscPDFConstant2D()`, `PetscPDFConstant3D()` ## Level beginner ## Location src/dm/dt/interface/dtprob.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)