[m-users.] Transposing array2d

Sean Charles (emacstheviking) objitsu at gmail.com
Mon May 17 18:01:25 AEST 2021


On a possibly connected but probably orthogonal note, this came across my radar from the SWI list, an assembly language written numerical library. I don’t know if it has array transposition but somebody might care to wrap it with the FFI library in the future? It does have Array Functions section and moving and copying things but no explicit mention on that page. The source might reveal more.

http://linasm.sourceforge.net/docs/api/array.php <http://linasm.sourceforge.net/docs/api/array.php>

http://linasm.sourceforge.net/about/benchmarks.php <http://linasm.sourceforge.net/about/benchmarks.php>


> On 17 May 2021, at 06:50, fabrice nicol <fabrnicol at gmail.com> wrote:
> 
> 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 <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
> 
> 
> 
> _______________________________________________
> users mailing list
> users at lists.mercurylang.org
> https://lists.mercurylang.org/listinfo/users

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


More information about the users mailing list