<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="">As usual, it’s the naming of things that’s the hardest! I hope it proves useful…<div class="">:)<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 17 May 2021, at 16:54, 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="">Thanks Sean, actually  the 'transpose' algorithm is encoded in
      file 'Matrix.asm', not in in Array.asm as I first thought. <br class="">
    </p><p class="">I will look into it and see if it proves useful.</p><p class="">Fabrice<br class="">
    </p>
    <div class="moz-cite-prefix">Le 17/05/2021 à 10:01, Sean Charles
      (emacstheviking) a écrit :<br class="">
    </div>
    <blockquote type="cite" cite="mid:AEEC2D30-19AC-4296-8657-3748A887D760@gmail.com" class="">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" 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="" moz-do-not-send="true">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="" moz-do-not-send="true">http://linasm.sourceforge.net/about/benchmarks.php</a></div>
        <div class=""><br class="">
          <div class=""><br class="">
            <blockquote type="cite" class="">
              <div class="">On 17 May 2021, at 06:50, fabrice nicol <<a href="mailto:fabrnicol@gmail.com" class="" moz-do-not-send="true">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" moz-do-not-send="true">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="" moz-do-not-send="true">users@lists.mercurylang.org</a><br class="">
                <a class="moz-txt-link-freetext" href="https://lists.mercurylang.org/listinfo/users">https://lists.mercurylang.org/listinfo/users</a><br class="">
              </div>
            </blockquote>
          </div>
          <br class="">
        </div>
      </div>
    </blockquote>
  </div>

</div></blockquote></div><br class=""></div></body></html>