<div dir="ltr"><br><div dir="ltr"><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">
<div>D - my apologies, &quot;ptrdiff_t&quot; was a C joke: it&#39;s just the type that a C compiler would assign to the difference between two pd array variables (as pointers).  it&#39;s neither a pd internal nor external object, and its only meaning is in terms of memory addresses; so it&#39;s probably not what you&#39;re looking for.  </div>
</div></div></blockquote><div>No worries :)<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div>if you&#39;re talking not just about arrays of numeric values but also symbols, you might have to turn to python or lua to compute something like the Levenshtein distance (aka &quot;string edit distance&quot;). </div>
</div></div></blockquote><div>Im interested mostly in comparing numeric arrays.<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<div class="gmail_extra"><div> if your argument arrays are always the same length, you can probably twiddle together a fairly simple Pd patch to compute the Hamming distance.</div></div></div></blockquote><div>Yes. I was hoping someone had an advance on this. In any case ill share what i find/program.<br>
<br></div><div>D<br></div></div></div></div>