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

📄 where_3.f90

📁 linux下编程用 编译软件
💻 F90
字号:
! Program to test WHERE on unknown size arraysprogram where_3   integer A(10, 2)   A = 0   call sub(A)containssubroutine sub(B)   integer, dimension(:, :) :: B   B(1:5, 1) = 0   B(6:10, 1) = 5   where (B(:,1)>0)      B(:,1) = B(:,1) + 10   endwhere   if (any (B .ne. reshape ((/0, 0, 0, 0, 0, 15, 15, 15, 15, 15, &      0, 0, 0, 0, 0, 0, 0, 0, 0, 0/), (/10, 2/)))) call abortend subroutineend program

⌨️ 快捷键说明

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