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

Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages