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

Using Eigen with standard C++

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

Using Eigen with standard C++

Thu Dec 18, 2014 7:44 am
Does anyone know anyway to use the Eigen API with standard C++. So, I need to create a algorithm library, which will be called by standard C++. For example, I want to use Cholesky, but I would like to pass an array of std::complex or somehow quickly convert that. The conversion idea does not seem good to me as that will take time.

Thanks,
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: Using Eigen with standard C++

Thu Dec 18, 2014 8:19 am
Could you be more specific? Anyway, I guess that what you're looking for is Eigen::Map, see: http://eigen.tuxfamily.org/dox-devel/gr ... Class.html
bobo01
Registered Member
Posts
10
Karma
0

Re: Using Eigen with standard C++

Thu Dec 18, 2014 12:51 pm
Yes, maybe that map is OK. I will check it out. Basically I have my data as the std::complex type and I would like to pass this into a Eigen function.


Bookmarks



Who is online

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