Re:Why physicists still use Fortran
by kmill on Monday December 19, 2016 @12:24AM
(#13209636)
In C, I've seen people do "multidimensional arrays" by A[n * i + j], with A a double[m * n], rather than by arrays of arrays. Especially if the array is being passed as a parameter, and the array's dimensions are given by other arguments, and the array is to be used with BLAS.
[ Parent
| on HN ]