next up previous contents
Next: psb_gedot Dot Up: Computational routines Previous: Computational routines   Contents

psb_geaxpby -- General Dense Matrix Sum

This subroutine is an interface to the computational kernel for dense matrix sum:

\begin{displaymath}y \leftarrow \alpha\> x+ \beta y \end{displaymath}

call psb_geaxpby(alpha, x, beta, y, desc_a, info)


Table 1: Data types
$x$, $y$, $\alpha$, $\beta$ Subroutine
Short Precision Real psb_geaxpby
Long Precision Real psb_geaxpby
Short Precision Complex psb_geaxpby
Long Precision Complex psb_geaxpby


Type:
Synchronous.
On Entry
alpha
the scalar $\alpha$.
Scope: global
Type: required
Intent: in.
Specified as: a number of the data type indicated in Table 1.
x
the local portion of global dense matrix $x$.
Scope: local
Type: required
Intent: in.
Specified as: a rank one or two array or an object of type vdatapsb_T_vect_type containing numbers of type specified in Table 1. The rank of $x$ must be the same of $y$.
beta
the scalar $\beta$.
Scope: global
Type: required
Intent: in.
Specified as: a number of the data type indicated in Table 1.
y
the local portion of the global dense matrix $y$.
Scope: local
Type: required
Intent: inout.
Specified as: a rank one or two array or an object of type vdatapsb_T_vect_type containing numbers of the type indicated in Table 1. The rank of $y$ must be the same of $x$.
desc_a
contains data structures for communications.
Scope: local
Type: required
Intent: in.
Specified as: an object of type descdatapsb_desc_type.

On Return
y
the local portion of result submatrix $y$.
Scope: local
Type: required
Intent: inout.
Specified as: a rank one or two array or an object of type vdatapsb_T_vect_type containing numbers of the type indicated in Table 1.
info
Error code.
Scope: local
Type: required
Intent: out.
An integer value; 0 means no error has been detected.


next up previous contents
Next: psb_gedot Dot Up: Computational routines Previous: Computational routines   Contents