Yes, of course. How blind of me. Here is one more question. <br>If you change IOUArray to IOArray and add $! in front of the two summations in the previous code, it still works correctly. <br>But can you do similar trick with Array and accumArray? I have tried to put $! in different places in the first code that I posted but nothing seems to work. <br>
<br><div class="gmail_quote">On Fri, May 16, 2008 at 4:26 PM, Henning Thielemann &lt;<a href="mailto:lemming@henning-thielemann.de">lemming@henning-thielemann.de</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
On Fri, 16 May 2008, Lauri Oksanen wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for help. I did some tests with UArray and it does the trick.<br>
The problem remaining is, how to implement UArray Int (Double, Double, Double)?<br>
</blockquote>
<br></div>
Maybe an (UArray (Int,Int) Double) could help, where the second index range is fixed to (0,2).<br>
</blockquote></div><br>