1 *> \brief \b DLA_WWADDW adds a vector into a doubled-single vector.
3 * =========== DOCUMENTATION ===========
5 * Online html documentation available at
6 * http://www.netlib.org/lapack/explore-html/
9 *> Download DLA_WWADDW + dependencies
10 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dla_wwaddw.f">
12 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dla_wwaddw.f">
14 *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dla_wwaddw.f">
21 * SUBROUTINE DLA_WWADDW( N, X, Y, W )
23 * .. Scalar Arguments ..
26 * .. Array Arguments ..
27 * DOUBLE PRECISION X( * ), Y( * ), W( * )
36 *> DLA_WWADDW adds a vector W into a doubled-single vector (X, Y).
38 *> This works for all extant IBM's hex and binary floating point
39 *> arithmetics, but not for decimal.
48 *> The length of vectors X, Y, and W.
53 *> X is DOUBLE PRECISION array, dimension (N)
54 *> The first part of the doubled-single accumulation vector.
59 *> Y is DOUBLE PRECISION array, dimension (N)
60 *> The second part of the doubled-single accumulation vector.
65 *> W is DOUBLE PRECISION array, dimension (N)
66 *> The vector to be added.
72 *> \author Univ. of Tennessee
73 *> \author Univ. of California Berkeley
74 *> \author Univ. of Colorado Denver
77 *> \date September 2012
79 *> \ingroup doubleOTHERcomputational
81 * =====================================================================
82 SUBROUTINE DLA_WWADDW( N, X, Y, W )
84 * -- LAPACK computational routine (version 3.4.2) --
85 * -- LAPACK is a software package provided by Univ. of Tennessee, --
86 * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
89 * .. Scalar Arguments ..
92 * .. Array Arguments ..
93 DOUBLE PRECISION X( * ), Y( * ), W( * )
96 * =====================================================================
102 * .. Executable Statements ..
107 Y(I) = ((X(I) - S) + W(I)) + Y(I)