nr is either nc or nc+1
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer | :: | nr | ||||
integer | :: | nc | ||||
integer | :: | nmax | ||||
real | :: | R | ||||
real | :: | v |
subroutine frots(nr,nc,nmax,R,v)
implicit double precision (a-h,o-z)
dimension R(*),v(*)
ii=1
do i=1,nc
ip=i+1
ipi=ii+1
ipip=ipi+nmax-i
call angle(R(ii),v(ip),cos,sin)
call rot(nr-i,R(ipi),R(ipip),cos,sin)
ii=ipip
end do
end subroutine frots