slepc-3.22.2 2024-12-02
Report Typos and Errors

BVSetRandomContext

Sets the PetscRandom object associated with the BV, to be used in operations that need random numbers.

Synopsis

#include "slepcbv.h" 
PetscErrorCode BVSetRandomContext(BV bv,PetscRandom rand)
Collective

Input Parameters

bv  - the basis vectors context
rand  - the random number generator context

See Also

BVGetRandomContext(), BVSetRandom(), BVSetRandomNormal(), BVSetRandomColumn(), BVSetRandomCond()

Level

advanced

Location

src/sys/classes/bv/interface/bvbasic.c

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