Re: [eigen] Eigen appears to rock. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Eigen appears to rock.
- From: "Gael Guennebaud" <gael.guennebaud@xxxxxxxxx>
- Date: Fri, 22 Aug 2008 19:09:21 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=P6G2EREFTnhZwRDEmLPgNoA/H2LVahxxygzhwH7dDTc=; b=jatVvTBJUNlDdp6rIdAuqfDwDPCDO/rKP16y3qFS3C7CYwFuyp4WYHB+sYigUQd0qX TWWBF54ISoTilEjyaSJiFTt5kQpsz6AEEFIPMLSiRdZQJI+malre7oJTplRzbFuCv7Xx 30Ox+ewVnqstFX/TTIu5mx1l2NOXHOc9/RZyM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KB6h71ga1wstrU0NF1C6Vcko7aCwnEpx1UQvY4KswzKgHwGg2WV4Q+iQQ32VUwq5cF TucfXhLDclG6lmBpfsLoHzZrG9mixciKKPA01hEtHBb7eD4vPFtd+KHpTIBavxIR/7xL CHWRajGHXTA0euw3lwEsCB34v1++LdQqPHuYA=
On Fri, Aug 22, 2008 at 5:53 PM, Thomas Vaughan <tevaughan@xxxxxxxxx> wrote:
> On Fri, Aug 22, 2008 at 7:51 AM, Gael Guennebaud
> <gael.guennebaud@xxxxxxxxx> wrote:
>>
>> but what about more general weighted mean of a set of points:
>>
>> for(i) {
>> m += p[i] * weight[i];
>> sumW += weight[i];
>> }
>> m /= sumW;
>
> It seems that your p is really a displacement vector.
ah yes I was not very clear when I wrote: "let's assume p = p-0". What
I really meant is to indeed consider "p=p-0", and then completely
forget about Points and only deal with Vectors (and "displacement
vectors"). In that case you only need to make the distinction when you
apply the transformation, and the rest remains sounds. But, yes, I
agree that in that context "T * a" remains the only thing which is not
very beautiful but it is so convenient !
gael.