slepc-3.17.0 2022-03-31
Report Typos and Errors

# BVCreateFromMat

Creates a basis vectors object from a dense Mat object.

### Synopsis

    #include "slepcbv.h"
    PetscErrorCode BVCreateFromMat(Mat A,BV *bv)

Collective on A

### Input Parameter

| A | - a dense tall-skinny matrix

### Output Parameter

| bv | - the new basis vectors context

### Notes

The matrix values are copied to the BV data storage, memory is not shared.

The communicator of the BV object will be the same as A, and so will be the dimensions.

### See Also

BVCreate(), BVDestroy(), BVCreateMat()

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