Why Physicists Still Use Fortran

Ilya Yaroshenko ilyayaroshenko at gmail.com
Tue Oct 17 15:25:54 UTC 2017


On Tuesday, 17 October 2017 at 13:36:59 UTC, Kagamin wrote:
>> Arrays (or in physics-speak, matrices)
>> multiplied together quite intuitively as:
>> C = A*B gives an element-by-element multiplication of A and B, 
>> assuming A and B are the same size.
>
> Ehhh?

The same true for ndslice. ndslice returns lazy result.

http://docs.algorithm.dlang.io/latest/mir_ndslice_slice.html#.Slice.opBinary.2


More information about the Digitalmars-d mailing list