Next: psb_geamax 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: an array of rank one or two 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: an array of rank one or two 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: a structured data 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_geamax Infinity-Norm Up: Computational routines Previous: psb_gedot Dot Contents