tb_acc_i(3PI) Sun Interval Performance Library tb_acc_i(3PI)NAMEtb_acc_i - Matrix accumulation and scale.
DESCRIPTION
B = ALPHA * A + BETA * B
The routine TB_ACC_I scales an triangular 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 N is
equal to zero or P is less than zero.
SYNOPSIS
SUBROUTINE TB_ACC_I( A, B [, UPLO] [, DIAG] [, ALPHA] [, BETA] )
INTERVAL, INTENT(IN) :: A(:,:)
INTERVAL, INTENT(INOUT) :: B(:,:)
INTERVAL, INTENT(IN), OPTIONAL :: ALPHA, BETA
TYPE(blas_uplo_type), INTENT(IN), OPTIONAL :: UPLO
TYPE(blas_diag_type), INTENT(IN), OPTIONAL :: DIAG
where
A and B have shape (P+1,N) where P = band width.
ARGUMENTS
A (input)
On entry, A is array of DIMENSION (P+1,N).
Unchanged on exit.
B (input/output)
On entry, B is array of DIMENSION (P+1,N).
On exit, B = ALPHA * A + BETA * B
UPLO(input)
Scalar element.
Specifies if the matrix operand is an upper or
lower tringular part of the matrix.
Possible values:
UPLO = blas_upper (default)
UPLO = blas_lower
Unchanged on exit.
DIAG (input)
Scalar element.
Specifies whether or not the matrix operand
has unit diagonal entries.
Possible values:
DIAG = blas_non_unit_diag (default)
DIAG = blas_unit_diag
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 or B is unallocated array
blas_error_shape
shape(A) /= shape(B)
6 Mar 2009 tb_acc_i(3PI)