STMInnerProduct

Computes the inner products a vector x with a set of vectors (columns of Y).

Synopsis

#include "slepcst.h" 
PetscErrorCode STMInnerProduct(ST st,PetscInt n,Vec x,const Vec y[],PetscScalar *p)
Collective on ST and Vec

Input Parameters

st - the spectral transformation context
n - number of vectors in y
x - the first input vector
y - array of vectors

Output Parameter

p - result of the inner products

Notes

This function will usually compute the standard dot product of x and y_i, (x,y_i)=y_i^H x, for each column of Y. However this behaviour may be different if changed via STSetBilinearForm(). This allows use of other inner products such as the indefinite product y_i^T x for complex symmetric problems or the B-inner product for positive definite B, (x,y_i)_B=y_i^H Bx.

See Also

STSetBilinearForm(), STApplyB(), VecMDot(), STInnerProduct()

Location: src/st/interface/stsolve.c
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages