:orphan: # PetscRandom Abstract PETSc object that manages generating random numbers ## Synopsis ``` typedef struct _p_PetscRandom *PetscRandom; ``` ## See Also `PetscRandomCreate()`, `PetscRandomGetValue()`, `PetscRandomType` ## Level intermediate ## Location include/petscsystypes.h ## Examples src/sys/classes/random/tutorials/ex2.c
## Implementations _p_PetscRandom in include/petsc/private/randomimpl.h
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscsystypes.h) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)