[m-users.] Transposing array2d
Sean Charles (emacstheviking)
objitsu at gmail.com
Tue May 18 01:54:39 AEST 2021
As usual, it’s the naming of things that’s the hardest! I hope it proves useful…
:)
> On 17 May 2021, at 16:54, fabrice nicol <fabrnicol at gmail.com> wrote:
>
> Thanks Sean, actually the 'transpose' algorithm is encoded in file 'Matrix.asm', not in in Array.asm as I first thought.
>
> I will look into it and see if it proves useful.
>
> Fabrice
>
> Le 17/05/2021 à 10:01, Sean Charles (emacstheviking) a écrit :
>> 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 <mailto: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 <mailto:users at lists.mercurylang.org>
>>> https://lists.mercurylang.org/listinfo/users <https://lists.mercurylang.org/listinfo/users>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20210517/ecfcdd58/attachment.html>
More information about the users
mailing list