#include "petscvec.h" PetscErrorCode VecMTDot(Vec x,PetscInt nv,const Vec y[],PetscScalar val[])Collective on Vec
x | - one vector | |
nv | - number of vectors | |
y | - array of vectors. Note that vectors are pointers |
val = (x,y) = y^T x,where y^T denotes the transpose of y.
Use VecMDot() for the inner product
val = (x,y) = y^H x,where y^H denotes the conjugate transpose of y.
Level:intermediate
Location:src/vec/vec/interface/rvector.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages