slepc-3.6.1 2015-09-03
Report Typos and Errors

# BVSetRandom

Set the columns of a BV to random numbers.

### Synopsis

    #include "slepcbv.h"
    PetscErrorCode BVSetRandom(BV bv,PetscRandom rctx)

Logically Collective on BV

### Input Parameters

| bv | - basis vectors
| rctx | - the random number context, formed by PetscRandomCreate(), or NULL and it will create one internally.

### Note

All active columns (except the leading ones) are modified.

### See Also

BVSetRandomColumn(), BVSetActiveColumns()

Location: src/sys/classes/bv/interface/bvops.c
Index of all BV routines
Table of Contents for all manual pages
Index of all manual pages