#include "petscvec.h" PetscErrorCode VecTDot(Vec x,Vec y,PetscScalar *val)Collective on Vec
val = (x,y) = y^T x,where y^T denotes the transpose of y.
Use VecDot() for the inner product
val = (x,y) = y^H x,where y^H denotes the conjugate transpose of y.
PetscScalar VecTDot(Vec x,Vec y) | -> | VecTDot(x,y,&s); return s; |
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