This forum has been archived. All content is frozen. Please use KDE Discuss instead.

cwise() Transfer to Eigen3

Tags: None
(comma "," separated)
grekop
Registered Member
Posts
10
Karma
0

cwise() Transfer to Eigen3

Sun Sep 05, 2010 8:32 pm
Hello, I use Eigen for computer vision and stochastic filtering research.
I downloaded the 3.0 Beta version. Everything works fine. However, I cannot get the .cwise work.
For example the code-line:
Code: Select all
result = mapFFT->cwise() * (templateFFT)->conjugate();

I get (g++) the following error:
Code: Select all
error: 'class Eigen::Matrix<std::complex<double>, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>' has no member named 'cwise'


Is there a problem of Eigen 3.0 with cwise() operator or I am doing something wrong.
PS:With Eigen 2 it worked fine.
Thanks in advance!
User avatar
bjacob
Registered Member
Posts
658
Karma
3

Re: cwise() Transfer to Eigen3

Sun Sep 05, 2010 9:20 pm
You need to read this:

http://eigen.tuxfamily.org/dox-devel/Ei ... Operations

Make sure to read the rest of this page too if you move your code from eigen 2 to 3.


Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list!


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]