## psb_gedot -- Dot Product

This function computes dot product between two vectors and .
If and are real vectors it computes dot-product as:

Else if and are complex vectors then it computes dot-product as:

    psb_gedot(x, y, desc_a, info)

Table 2: Data types

, , | Function
Short Precision Real | psb_gedot
Long Precision Real | psb_gedot
Short Precision Complex | psb_gedot
Long Precision Complex | psb_gedot

Type:
  Synchronous.
On Entry
x
  the local portion of global dense matrix .
  Scope: local
  Type: required
  Intent: in.
  Specified as: a rank one or two array or an object of type vdata`psb_T_vect_type` containing numbers of type specified in Table 2. The rank of must be the same of .
y
  the local portion of global dense matrix .
  Scope: local
  Type: required
  Intent: in.
  Specified as: a rank one or two array or an object of type vdata`psb_T_vect_type` containing numbers of type specified in Table 2. The rank of must be the same of .
desc_a
  contains data structures for communications.
  Scope: local
  Type: required
  Intent: in.
  Specified as: an object of type descdata`psb_desc_type`.

On Return
Function value
  is the dot product of subvectors and .
  Scope: global
  Specified as: a number of the data type indicated in Table 2.
info
  Error code.
  Scope: local
  Type: required
  Intent: out.
  An integer value; 0 means no error has been detected.