#include "slepcbv.h" PetscErrorCode BVDot(BV X,BV Y,Mat M)Collective
X | - first basis vectors | |
Y | - second basis vectors |
M | - the resulting matrix |
If a non-standard inner product has been specified with BVSetMatrix(), then the result is M = Y^H*B*X. In this case, both X and Y must have the same associated matrix.
On entry, M must be a sequential dense Mat with dimensions m,n at least, where m is the number of active columns of Y and n is the number of active columns of X. Only rows (resp. columns) of M starting from ly (resp. lx) are computed, where ly (resp. lx) is the number of leading columns of Y (resp. X).
X and Y need not be different objects.