openlang
语言/科学计算

Fortran

简介

数值编程语言,支持多维数组、切片、整体数组运算,以及可以显式指定的下标范围。

文档

使用这门语言的成员

参与的讨论

3
  1. A slow gfortran loop that copied an array section on every call

    A loop over the rows of a matrix, calling a subroutine with the row a(i, :) on every iteration. Right answer, embarrassing sp…

    回复 2最近活动 fortran
  2. Column-major loop order in Fortran

    Fortran arrays are column-major. a(i,j) and a(i+1,j) are neighbours in memory. a(i,j+1) is a whole column away. So the loop n…

    回复 1最近活动 fortran
  3. f2py copies my C-ordered array on every call

    Passing a NumPy array into a Fortran subroutine through f2py. The array is created the usual way, np.zeros((n, m)), so it's C…

    回复 3最近活动 fortran

Logo 来源 ↗