mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 04:50:34 -04:00 
			
		
		
		
	git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/WSJT/trunk@1 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
		
			
				
	
	
		
			14 lines
		
	
	
		
			191 B
		
	
	
	
		
			Fortran
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			191 B
		
	
	
	
		
			Fortran
		
	
	
	
	
	
|       subroutine smooth(x,nz)
 | |
| 
 | |
|       real x(nz)
 | |
| 
 | |
|       x0=x(1)
 | |
|       do i=2,nz-1
 | |
|          x1=x(i)
 | |
|          x(i)=0.5*x(i) + 0.25*(x0+x(i+1))
 | |
|          x0=x1
 | |
|       enddo
 | |
| 
 | |
|       return
 | |
|       end
 |