#include "petscsys.h" PetscErrorCode PetscRandomGetValueImaginary(PetscRandom r,PetscScalar *val)Not Collective
-random_type petscrand48 | - . -random_type petscrand | |
-random_type sprng, uses SPRNG package | - |
PetscRandomCreate(PETSC_COMM_WORLD,&r); PetscRandomGetValueImaginary(r,&value1); PetscRandomGetValueImaginary(r,&value2); PetscRandomGetValueImaginary(r,&value3); PetscRandomDestroy(r);
Level:intermediate
Location:src/sys/utils/random/interface/random.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages