gb_add_i(3PI) Sun Interval Performance Library gb_add_i(3PI)NAMEgb_add_i - General band matrix add and scale.
DESCRIPTION
C = ALPHA * A + BETA * B
The routine GB_ADD_I scales general band interval matrices A and B and
stores the sum in the interval matrix C. This routine returns immedi‐
ately if M or N is equal to zero or KL is less than zero.
SYNOPSIS
SUBROUTINE GB_ADD_I(A, M, KL, B, C [, ALPHA] [, BETA])
INTERVAL, INTENT(IN) :: A(:,:), B(:,:)
INTEGER, INTENT(IN) :: M, KL
INTERVAL, INTENT(OUT) :: C(:,:)
INTERVAL, INTENT(IN), OPTIONAL :: ALPHA, BETA
where
assuming A, B and C all general band matrices with the same
shape (L,N) where (L > KL).
ARGUMENTS
A (input)
On entry, A is array of DIMENSION (L,N)
Unchanged on exit.
B (input)
On entry, B is array of DIMENSION (L,N)
Unchanged on exit.
C (input/output)
On entry, C is array of DIMENSION (L,N).
On exit, C = ALPHA * A + BETA * B
M (input)
Number of rows in the source general matrix.
Unchanged on exit.
KL (input)
The number of the subdiagonal bands.
Unchanged on exit.
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
A, B or C is unallocated array
blas_error_shape
shape(A) /= shape(B) /= shape(C)
6 Mar 2009 gb_add_i(3PI)