This library has been straightforwardly adapted from the language library
array2d.m.
The code in array2d2.m is subject to the same licensing conditions as those of
the original Mercury source code (see COPYING.LIB).
This library proposes to store 2d data in column-major order, while the
standard library uses row-major order.
This will facilitate interfacing with statistical software (like R and Python
libraries), which often stores 2d data in column-major data tables (like R's
data frames).
The expected benefit is that, if used properly in conjunction with appropriate
representations of empirical issues, transposing operations should be avoided,
with the related processing overhead.
Just run make
(or make clean
to clean up the build).
A small test file will be compiled.
To just build the library, run mmake depend && mmake