slepc-3.21.2 2024-09-25
Report Typos and Errors

# BVCreateMat

Creates a new Mat object of dense type and copies the contents of the BV object.

### Synopsis

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

Collective

### Input Parameter

| bv | - the basis vectors context

### Output Parameter

| A | - the new matrix

### Notes

The user is responsible of destroying the returned matrix.

The matrix contains all columns of the BV, not just the active columns.

### See Also

BVCreateFromMat(), BVCreateVec(), BVGetMat()

### Level

intermediate

### 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