⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gendat.f

📁 网络带宽测试工具
💻 F
字号:
      Subroutine gendat( a, n )! ----------------------------------------------------------------------! --- Routine 'gendat' generates the test data for the FFT:!     one complete cosine cycle in the Real part of the data.!     Zero in the imaginary part of the data.! ----------------------------------------------------------------------      Use              numerics      Implicit         None      Integer       :: n      Real(l_)      :: a(0:n-1)      Real(l_)      :: fac      Integer       :: i! ----------------------------------------------------------------------      fac   = 8.0_l_*Atan( 1.0_l_ )/( 1.0_l_*n )            Do i = 0, n - 1         a(i) = Cos( i*fac )      End Do! ----------------------------------------------------------------------      End Subroutine gendat 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -