[m-users.] Transposing array2d

fabrice nicol fabrnicol at gmail.com
Mon May 17 15:50:42 AEST 2021


I wondered whether someone ever implemented a 'transpose' procedure for 
array2d.

As there seems to be none, I have implemented a basic fallback here: 
https://github.com/fabnicol/RMercury/blob/library/ri.m, line 1236.

[Note: the library itself is very much work in progress, with numerous 
issues and loose ends. I'm just quoting it for reference to 'transpose'.]

This works, but it is the basic Cate & Twigg formula. There are numerous 
better options around, perhaps someone knows of some free code around?

Fabrice


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20210517/d4cdb6be/attachment.html>


More information about the users mailing list