waxpby_i(3PI) Sun Interval Performance Library waxpby_i(3PI)NAMEwaxpby_i - Scaled vector addition.
DESCRIPTION
W = ALPHA * X + BETA * Y
The routine WAXPBY_I scales the interval vector X by the interval ALPHA
and the interval vector Y by BETA, adds these two vectors to one
another and stores the result in the vector W.
SYNOPSIS
SUBROUTINE WAXPBY_I( X, Y, W [, ALPHA] [, BETA] )
INTERVAL, INTENT(IN) :: X(:), Y(:)
INTERVAL, INTENT(OUT) :: W(:)
INTERVAL, INTENT(IN), OPTIONAL :: ALPHA, BETA
where
X, Y and W have shape (N).
ARGUMENTS
X (input)
Array of DIMENSION N.
Unchanged on exit.
Y (input)
Array of DIMENSION N.
Unchanged on exit.
W (output)
Array of DIMENSION N.
On exit, W is overwritten by results of subroutine:
W = ALPHA * X + BETA * Y
ALPHA (input)
On entry, ALPHA specifies the scalar ALPHA.
Default value is ALPHA = [1,1].
Unchanged on exit.
BETA (input)
On entry, BETA specifies the scalar BETA.
Default value is BETA = [0,0].
Unchanged on exit.
ERRORS
blas_error_alloc
X, Y or W is unallocated array
blas_error_shape
shape(X) /= shape(Y) /= shape(W)
6 Mar 2009 waxpby_i(3PI)