VecMDot

Computes vector multiple dot products.

Synopsis

#include "vec.h" 
int VecMDot(int nv,Vec x,const Vec y[],Scalar *val)
Collective on Vec

Input Parameters

nv - number of vectors
x - one vector
y - array of vectors.

Output Parameter

val -array of the dot products

Notes for Users of Complex Numbers

For complex vectors, VecMDot() computes
    val = (x,y) = y^H x,
where y^H denotes the conjugate transpose of y.

Use VecMTDot() for the indefinite form

    val = (x,y) = y^T x,
where y^T denotes the transpose of y.

Keywords

vector, dot product, inner product, multiple

See Also

VecMTDot(), VecDot()

Examples

src/vec/examples/tutorials/ex1f.F
src/vec/examples/tutorials/ex1f90.F
src/vec/examples/tutorials/ex1.c
src/vec/examples/tutorials/ex10.c
src/vec/examples/tutorials/ex1e.c

Level:intermediate
Location:src/vec/interface/vector.c
Vector Index
Table of Contents