# psb_gediv — Entrywise Division

[next] [prev] [prev-tail] [tail] [up]

#### 4.15 psb_gediv — Entrywise Division

This function computes the entrywise division between two vectors x and y

psb_gediv(x, y, desc_a, info, [flag)

∕, x, y | Function

Short Precision Real | psb_gediv
Long Precision Real | psb_gediv
Short Precision Complex | psb_gediv
Long Precision Complex | psb_gediv

Table 15: Data types

Type:
  Synchronous.
On Entry
x
  the local portion of global dense vector x.
  Scope: local
  Type: required
  Intent: in.
  Specified as: an object of type psb_T_vect_type containing numbers of type specified in Table 2.
y
  the local portion of global dense vector y.
  Scope: local
  Type: required
  Intent: in.
  Specified as: an object of type psb_T_vect_type containing numbers of type specified in Table 2.
desc_a
  contains data structures for communications.
  Scope: local
  Type: required
  Intent: in.
  Specified as: an object of type psb_desc_type.
flag
  check if any of the y(i) = 0, and in case returns error halting the computation.
  Scope: local
  Type: optional Intent: in.
  Specified as: the logical value flag=.true.
On Return
x
  the local portion of result submatrix x.
  Scope: local
  Type: required
  Intent: inout.
  Specified as: an object of type psb_T_vect_type containing numbers of the type indicated in Table 14.
info
  Error code.
  Scope: local
  Type: required
  Intent: out.
  An integer value; 0 means no error has been detected.

[next] [prev] [prev-tail] [front] [up]