<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">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.<div class=""><br class=""><div class=""><a href="http://linasm.sourceforge.net/docs/api/array.php" class="">http://linasm.sourceforge.net/docs/api/array.php</a></div><div class=""><br class=""></div><div class=""><a href="http://linasm.sourceforge.net/about/benchmarks.php" class="">http://linasm.sourceforge.net/about/benchmarks.php</a></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 17 May 2021, at 06:50, fabrice nicol <<a href="mailto:fabrnicol@gmail.com" class="">fabrnicol@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" class="">
<div class=""><p class="">I wondered whether someone ever implemented a 'transpose'
procedure for array2d.</p><p class="">As there seems to be none, I have implemented a basic fallback
here: <a class="moz-txt-link-freetext" href="https://github.com/fabnicol/RMercury/blob/library/ri.m">https://github.com/fabnicol/RMercury/blob/library/ri.m</a>, line
1236. <br class="">
</p><p class="">[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'.]<br class="">
</p><p class="">This works, but it is the basic <span class="pl-c"><span class="pl-c">Cate & Twigg formula. There are numerous
better options around, perhaps someone knows of some free code
around?<br class="">
</span></span></p><p class=""><span class="pl-c"><span class="pl-c">Fabrice<br class="">
</span></span></p><p class=""><br class="">
</p>
</div>
_______________________________________________<br class="">users mailing list<br class=""><a href="mailto:users@lists.mercurylang.org" class="">users@lists.mercurylang.org</a><br class="">https://lists.mercurylang.org/listinfo/users<br class=""></div></blockquote></div><br class=""></div></div></body></html>