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: Björn Piltz <bjornpiltz@xxxxxxxxxxxxxx>
- Date: Wed, 21 Oct 2009 11:33:23 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=kXDSX6NkXgTD95lBcURhvqthpIbwLh71Cq0tdBWGBns=; b=dwTJ5t1T8V6ODA1UkoUmEFiAz/x+aPrc5YyJeGAEDb55zr9H+cxzFc4CSIY/jRk/mi eFjzK1MwNxK2f9WScztZ5YZF0D/8pfNs6nRgxYQNawnOQV5oe2mCQIczRFHYNx9DAIpD MgV4SpKe4lKNdMJscClqsCHunJzEsy1FuTzzM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=HNpzDzqjSDcOj0+guPy/GlX6RVe1FQg44lHl7E1QT3UZK2TXHWMl5qY6FXlq8nG2Vq DvPi6AASMtzurSOVtHVaoVAyA+DctyJmPxuaCo7g/Fq66iDyWFz2HjKpleiX+3Gyy8un fPV0eNmI4W3KTE8vEXow/GjR6sAwesFqKGiu4=
Well, try naming the map something elsethan dataMatrix.
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
>