[eigen] Cost of a map operation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] Cost of a map operation
- From: Rohit Garg <rpg.314@xxxxxxxxx>
- Date: Wed, 2 Sep 2009 12:30:05 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=+9qh15CNJo2Si0PIfS+qupg6SsNhtpKcIB4zIb2JE3g=; b=dSIWic09jDxjF8vHceNQVLMGjvj/9HnG4HzZOwzSgw9LWTcirfW587ynOiqOcPXbbx DU2TcmCixybcZPa1cdeRT28WHFs0Lbc4/xK1ujYwp+Wn/B6xCI1WPxYJm6K1yJZ0CWXg XsgG6w0dn5TEKiTzdaT4jz9mdoVnWmmxhlhEk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FBwSm7usSBlBTKitwILe9fqEYlGapeP1UrYeL+tLXECaNI4xexbsr0aRuAxwZyWhjG D9dz+mskjiE0PeNVV3t6C8npbdrXWA5ynK2X/3pLhkMjNqIRFIa0AQpiEq9mponXEz3z S+LUE0xQZNBEBBNo/99K0xlXdVjdGsqpwra6s=
What is the cost of this map operation?
AddressVector_t AddressVector = Map<AddressVector_t,ForceAligned>(address)
where AddressVector_t itself is a typedef for
typedef Matrix<int,cordNum,1> AddressVector_t;
cordNum is a compile time constant.
This map operation occurs in inner loop of my application, so I want
to know, how costly is it gonna be? I mean with what use in mind was
it written for?
--
Rohit Garg
http://rpg-314.blogspot.com/
Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay