Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: RMS deviation between two sets of cartesian coords Message-ID: <14660@smoke.brl.mil> Date: 5 Dec 90 18:40:37 GMT References: <27599@cs.yale.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 10 In article <27599@cs.yale.edu> jim@doctor.chem.yale.edu (James F. Blake) writes: > I am looking for code to compute the RMS deviation between two >sets of cartesian coordinates. The coordinates would be arbitrarily >oriented with respect to each other, so some sort of fitting would >be required (LLSQ, NLLSQ, or simplex). Sounds to me like the sums of the squares of the (vector) differences between corresponding coordinates would suffice -- or is it the situation that you can't establish a correspondence between points in the two sets (i.e. you want to compare clouds as such). Brought to you by Super Global Mega Corp .com