Next: psb_normi Infinity-Norm Up: Computational routines Previous: psb_gedot Dot Contents

## psb_gedots -- Generalized Dot Product

This subroutine computes a series of dot products among the columns of two dense matrices and :

If the matrices are complex, then the usual convention applies, i.e. the conjugate transpose of is used. If and are of rank one, then is a scalar, else it is a rank one array.

    call psb_gedots(res, x, y, desc_a, info)

Table 3: Data types
, , | Subroutine
Short Precision Real | psb_gedots
Long Precision Real | psb_gedots
Short Precision Complex | psb_gedots
Long Precision Complex | psb_gedots

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 3. 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 3. 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
res
  is the dot product of subvectors and .
  Scope: global
  Intent: out.
  Specified as: a number or a rank-one array 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.

Next: psb_normi Infinity-Norm Up: Computational routines Previous: psb_gedot Dot Contents