http://nickpisca.com/BLAST/index.php?title=GetDistanceBetwTwoArrays&feed=atom&action=history
GetDistanceBetwTwoArrays - Revision history
2024-03-29T14:08:56Z
Revision history for this page on the wiki
MediaWiki 1.28.1
http://nickpisca.com/BLAST/index.php?title=GetDistanceBetwTwoArrays&diff=128&oldid=prev
Nickpisca: Created page with " global proc float GetDistanceBetwTwoArrays(float $A1[], float $A2[]) { //Author Nick Pisca 0001d 2010 //float $A1[] = {0,22,1}; float $A2[] = {22,0,0}; vector $A1vec =..."
2017-04-22T05:56:17Z
<p>Created page with " global proc float GetDistanceBetwTwoArrays(float $A1[], float $A2[]) { //Author Nick Pisca 0001d 2010 //float $A1[] = {0,22,1}; float $A2[] = {22,0,0}; vector $A1vec =..."</p>
<p><b>New page</b></p><div> global proc float GetDistanceBetwTwoArrays(float $A1[], float $A2[]) {<br />
//Author Nick Pisca 0001d 2010<br />
//float $A1[] = {0,22,1}; float $A2[] = {22,0,0};<br />
vector $A1vec = <<$A1[0],$A1[1],$A1[2]>>;<br />
vector $A2vec = <<$A2[0],$A2[1],$A2[2]>>;<br />
vector $DDiff = $A1vec-$A2vec;<br />
float $FF=mag($DDiff);<br />
return $FF;<br />
}<br />
<br />
<br />
<br />
''Related Functions: [[GetDistanceBetwTwoVectors]] [[ReturnNVectorCOG]]<br />
<br />
''More information on vectors and vector mathematics, read pages 14-16, 20-21 in [http://stores.lulu.com/nickpisca YSYT]. <br />
[[Category:MEL]]</div>
Nickpisca