📄 envelop.f
字号:
subroutine hilbert(lx,x) integer jsz, item, ierr, iabort dimension h(129),x(*) real y pointer (wky, y(1)) data ierr/0/ data iabort/0/ lh=129 item = lx+lh+1 call sizefloat(jsz) call galloc (wky, jsz*item, ierr, iabort) if (ierr .ne. 0) then call ppc('cross (hilbert): FATAL ERROR') call ppc('Unable to allocate bytes',jsz*item) return endif lh2=(lh-1)/2 call vclr(h,1,lh) do 10 i = 1, lh2, 2 d=i h(lh2+1-i) = -1./d h(lh2+1+i) = 1./d 10 continue call dotpr (h,1,h,1,s,lh) s=1./sqrt(s) do 11 i = 1,lh h(i) = s * h(i) 11 continue call fold(lh,h,lx,x,ly,y) call vmov(y(lh2+1),1,x,1,lx) return end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -