gb_acc_i(3PI) Sun Interval Performance Library gb_acc_i(3PI)NAMEgb_acc_i - General band matrix accumulation and scale.
DESCRIPTION
B = ALPHA * A + BETA * B
The routine GB_ACC_I scales an general band interval matrices A and B
and accumulates the result in the interval matrix B. Matrices A and B
have the same storage format. This routine returns immediately if M or
N is equal to zero or KL is less than zero.
SYNOPSIS
SUBROUTINE GB_ACC_I( A, M, KL, B [, ALPHA] [, BETA] )
INTERVAL, INTENT(IN) :: A(:,:)
INTEGER, INTENT(IN) :: M, KL
INTERVAL, INTENT(INOUT) :: B(:,:)
INTERVAL, INTENT(IN), OPTIONAL :: ALPHA, BETA
where
A and B have shape (L,N) where (L > KL).
ARGUMENTS
A (input)
On entry, A is array of DIMENSION (L,N).
Unchanged on exit.
M (input)
Number of rows in the source general matrix.
Unchanged on exit.
KL (input)
The number of the subdiagonal bands.
Unchanged on exit.
B (input/output)
On entry, B is array of DIMENSION (L,N).
On exit, B = ALPHA * A + BETA * B
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 or B is unallocated array
blas_error_shape
shape(A) /= shape(B)
6 Mar 2009 gb_acc_i(3PI)