[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] Map questions
- From: "Cristóvão Sousa" <crisjss@xxxxxxxxx>
- Date: Wed, 29 Oct 2008 20:01:03 +0000
- 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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=tyVR0+vEuil1me4QiqoZ+FgieNUT4nIWBjwban1HCBo=; b=dQgO6AXIWTc92Mtn6AoOdAXQRKvSSWDcjP5D2x1yStm1wi8kkqjvDse/S60/uTJPtA HulaTq4/FN47UOvvaw45xcmWBtBThCwVIkRsMMCJ5NLn8JLvyRdLVRtHyD6un+cA2jbP UUxPucFdA+DUbymt0LftVJBAGPkyiZzKIzNpU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=TN6wGmpn78cFzbb8RfbzdtpzP7CwFjK/skf3LqtRJ9afOdf3vbS+L49wlxN4xqwU9T 82OaKzw/JlSIo2oZqQDJRdxrY73isTlWtVblg0EfXodAR/ajLnWJVabtEoQHVui2mze6 JrGhlaxBbF3+9bph3LsuUQQx+fRDoH4VvPZtU=
Hi,
I would like to do something like
Vector3d v;
// v = something;
double a[3];
Map<Vector3d>(a) = v;
, which currently does not works.
How should I do that?
Another thing that could be a little bug:
it is currently possible to do
const double a[3]={1,2,3};
Map<Vector3d>(a).setZero();
, which discards the const qualifier of a.
Thanks,
Cristovao Sousa
---