slepc-3.14.2 2021-02-01
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 on bv

### Input Parameters

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

### See Also

BVGetRandomContext(), BVSetRandom(), BVSetRandomColumn()

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