#include "petscvec.h" PetscErrorCode VecDot(Vec x,Vec y,PetscScalar *val)Collective on Vec
per-processor memory bandwidth
interprocessor latency
work load inbalance that causes certain processes to arrive much earlier than others
val = (x,y) = y^H x,where y^H denotes the conjugate transpose of y. Note that this corresponds to the usual "mathematicians" complex inner product where the SECOND argument gets the complex conjugate. Since the BLASdot() complex conjugates the first first argument we call the BLASdot() with the arguments reversed.
Use VecTDot() for the indefinite form
val = (x,y) = y^T x,where y^T denotes the 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