SUBROUTINE CAXPYI( NZ, A, X, INDX, Y) COMPLEX A COMPLEX X(*), Y(*) INTEGER NZ INTEGER INDX(*) SUBROUTINE CAXPYI_64( NZ, A, X, INDX, Y) COMPLEX A COMPLEX X(*), Y(*) INTEGER*8 NZ INTEGER*8 INDX(*)
SUBROUTINE AXPYI( [NZ], [A], X, INDX, Y) COMPLEX :: A COMPLEX, DIMENSION(:) :: X, Y INTEGER :: NZ INTEGER, DIMENSION(:) :: INDX SUBROUTINE AXPYI_64( [NZ], [A], X, INDX, Y) COMPLEX :: A COMPLEX, DIMENSION(:) :: X, Y INTEGER(8) :: NZ INTEGER(8), DIMENSION(:) :: INDX
do 10, i = 1, n y(indx(i)) = alpha * x(i) + y(indx(i)) 10 continue
Number of elements in the compressed form. Unchanged on exit.
Vector containing the indices of the compressed form. It is assumed that the elements in INDX are distinct and greater than zero. Unchanged on exit.