slepc-3.7.3 2016-09-29
Report Typos and Errors

# BVMatMult

Computes the matrix-vector product for each column, Y=A*V.

### Synopsis

    #include "slepcbv.h"
    PetscErrorCode BVMatMult(BV V,Mat A,BV Y)

Neighbor-wise Collective on Mat and BV

### Input Parameters

| V | - basis vectors context
| A | - the matrix

### Output Parameter

| Y | - the result

### Note

Both V and Y must be distributed in the same manner. Only active columns (excluding the leading ones) are processed. In the result Y, columns are overwritten starting from the leading ones.

It is possible to choose whether the computation is done column by column or as a Mat-Mat product, see BVSetMatMultMethod().

### See Also

BVCopy(), BVSetActiveColumns(), BVMatMultColumn(), BVMatMultHermitianTranspose(), BVSetMatMultMethod()

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