4 ms·
That's ridiculous, you can make a C++ class and overload operator() like Eigen to easily make a multi-dimensional array.
by CyberDildonics 6y ago
That's ridiculous, you can make a C++ class and overload operator() like Eigen to easily make a multi-dimensional array.
- baggy_trough 6y ago"natively"
- CyberDildonics 6y agoWhat is different to fortran's multi-dimensional arrays? The interface can be almost identical and the memory layout in C++ can be whatever you want it to be.
- enriquto 6y agoBy that reasoning, all turing-complete languages support multi-dimensional arrays.
- CyberDildonics 6y agoI don't think every turing complete language lets you create an interface and memory layout that would be identical to fortran.