STInnerProduct
Computes the inner product of two vectors.
Synopsis
#include "slepcst.h"
PetscErrorCode STInnerProduct(ST st,Vec x,Vec y,PetscScalar *p)
Collective on ST and Vec
Input Parameters
| st | - the spectral transformation context
|
| x | - input vector
|
| y | - input vector
|
Output Parameter
p - result of the inner product
Notes
This function will usually compute the standard dot product of vectors
x and y, (x,y)=y^H x. However this behaviour may be different if changed
via STSetBilinearForm(). This allows use of other inner products such as
the indefinite product y^T x for complex symmetric problems or the
B-inner product for positive definite B, (x,y)_B=y^H Bx.
See Also
STSetBilinearForm(), STApplyB(), VecDot(), STMInnerProduct()
Location: src/st/interface/stsolve.c
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages