s the original value at <code>x</code>,<code>y</code> to <code>f</code> and replaces it with the value returned by <code>f</code>.</p>
<p>Example:</p>
<pre><code>var a = new Array2&lt;Int&gt;(3, 3);
a.replace(1, 2, v -&gt; v + 1); // Haxe4
a.replace(1, 2, function(v) return v + 1);
</code></pre></div></div><div class="field "><a name="resize"></a><h3 class="anchor"><code><a href="#resize"><span class="identifier">resize</span></a> (<span style="white-space:nowrap">width:<span class="type">Int</span>,</span>