<?xml version="1.0" encoding="windows-1252"?>
<node id="972045" title="Re^2: calculate average in sliding windows" created="2012-05-23 10:27:39" updated="2012-05-23 10:27:39">
<type id="11">
note</type>
<author id="888573">
Eliya</author>
<data>
<field name="doctext">
&lt;blockquote&gt;
&lt;i&gt; but it doesn't take into account the positions in column 1 &lt;/i&gt;
&lt;/blockquote&gt;
&lt;p&gt; Sorry, I'm still not sure what you want (and it's a little diffficult to infer it from code which - as you state - doesn't work). &lt;/p&gt;
&lt;p&gt;  Are you saying the positions in column 1 are meant to represent indices in some sparse array, with all unspecified positions (such as 12498249..12512574, etc.) implicitly having a value of zero, or what? &lt;/p&gt;
&lt;p&gt; I think it would help if you could come up with some simplified (but sufficient/complete) sample input (say using a window size of 3) together with the desired output values. &lt;/p&gt;</field>
<field name="root_node">
971993</field>
<field name="parent_node">
972042</field>
</data>
</node>
