SUBROUTINE DROTI( NZ, X, INDX, Y, C, S) INTEGER NZ INTEGER INDX(*) DOUBLE PRECISION C, S DOUBLE PRECISION X(*), Y(*) SUBROUTINE DROTI_64( NZ, X, INDX, Y, C, S) INTEGER*8 NZ INTEGER*8 INDX(*) DOUBLE PRECISION C, S DOUBLE PRECISION X(*), Y(*)
SUBROUTINE ROTI( [NZ], X, INDX, Y, C, S) INTEGER :: NZ INTEGER, DIMENSION(:) :: INDX REAL(8) :: C, S REAL(8), DIMENSION(:) :: X, Y SUBROUTINE ROTI_64( [NZ], X, INDX, Y, C, S) INTEGER(8) :: NZ INTEGER(8), DIMENSION(:) :: INDX REAL(8) :: C, S REAL(8), DIMENSION(:) :: X, Y
do 10, i = 1, n temp = -s * x(i) + c * y(indx(i)) x(i) = c * x(i) + s * y(indx(i)) y(indx(i)) = temp 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.