Registered Member
|
Hi,
I am using eclipse mars with cdt and I am having problems to get the indexer to work with the eigen library (3.2.7) in a makefile project. Most of the library is getting indexed fine, but for example:
I was searching through the lib a little. In CommonCwiseUnaryOps.h:109 we have:
which seems to be a member function, but of which class ? and where is it declared ? maybe the inlining screws the indexer ? is anybody here using eclipse ide and got the indexer to work ? thanks!! |
Moderator
|
hm, the member you are showing in CommonCwiseUnaryOps.h, is the one called in the last line for which you said it's OK:
the one that does not work is std::complex::real. |
Registered Member
|
Hi!
The problem also goes away if I cast to std::complex<double> explicitly:
could it be that the indexing operator [.(0,0)] returns something else than std::complex<double> ? Can you explain to me how .real() (the one from eigen) becomes a member function of MatrixXcd ? All I see is this little inline statement I posted and I do not get where it is said which class this belongs to. That probably does not solve the indexer problem for me, but I am curious. cheers! |
Moderator
|
you don't wanna know (the file is included in the body of the DenseBase and SparseMatrixBase classes)
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft