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 Parameters#

  • x - Coordinate in \([-1, 1]\)

  • dummy - Unused

Output Parameter#

  • p - The probability density at x

See Also#

PetscCDFConstant1D(), PetscPDFSampleConstant1D(), PetscPDFConstant2D(), PetscPDFConstant3D()

Level#

beginner

Location#

src/dm/dt/interface/dtprob.c


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