:orphan: # PetscPDFConstant2D PDF for the uniform distribution in 2D ## Synopsis ``` #include "petscdt.h" PetscErrorCode PetscPDFConstant2D(const PetscReal x[], const PetscReal dummy[], PetscReal p[]) ``` Not Collective ## Input Parameter - ***x -*** Coordinate in [-1, 1] x [-1, 1] ## Output Parameter - ***p -*** The probability density at x ## See Also `PetscCDFConstant2D()`, `PetscPDFSampleConstant2D()`, `PetscPDFConstant1D()`, `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)