Re: [eigen] Cost of a map operation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Cost of a map operation
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Wed, 21 Oct 2009 10:00:57 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=LvVNBB//el7NL8JsyNHHuDy61TDvSJHE23/z6WFvGoQ=; b=olwE4S8IBuMg80K25AmXv6qyH1unMVEgoo5DsAQmQOFHXL7JcMDp46xlGQZRFpEDJb TAw+PrIaZyeyGO7Is7xQw6TuQccp+dCzh/ksxRCdHWMkfB9InjdAheKN2fYt8ZHKau6+ iEe3LsPc+TWscPitahuJm/igkgLe87IHx95os=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=GRrWWis5j6ge3jRvk8jyWDn+jhxKJFNXYbYSgg0k5HfphF4OgUMxrA1oEgoD+FTvHV jW0pkPTVMolK/MH5FJUSwUQs7k+LakcX8a+yPKwDtV3XUHKIpCMeC7hIQbHoJbI0tWUy p1B85l7uUrfVzlagCCzHOUBwsjz1BMO6dJMV0=
2009/10/21 Björn Piltz <bjornpiltz@xxxxxxxxxxxxxx>:
> Well, try naming the map something elsethan dataMatrix.
Thanks for answering, i was confused!
Yes "shadows a parameter" means exactly that, a name conflict.
Benoit
>
> 2009/10/20 Rohit Garg <rpg.314@xxxxxxxxx>:
>>> strange. can you show the compiler errors?
>>
>> Sorry for the 5 files involved. The offending function is init(), in
>> analysis2.cpp. You will need to do make nocds to compile. Also you
>> will have to tweak the eigen include path in the Makefile. Loads of
>> stuff has been commented out in analysis2.cpp. You can ignore the
>> binary* files, they are *certainly* not a problem, but they need to be
>> there.
>>
>> Just put all the files in one directory, it should be good enough. I
>> am using gcc4.4.1, 64 bit, eigen unstable (but not the latest version
>> of eigen). I think the issue here is some kind of syntax error. Here
>> it is,
>>
>> ==========
>> analysis2.cpp:154: error: declaration of
>> ‘Eigen::Map<Eigen::Matrix<int, 33331, 33331, 0, 33331, 33331>, 0>
>> dataMatrix’ shadows a parameter
>> ==========
>>
>> --
>> Rohit Garg
>>
>> http://rpg-314.blogspot.com/
>>
>> Senior Undergraduate
>> Department of Physics
>> Indian Institute of Technology
>> Bombay
>>
>
>
>