Boost logo

Boost Users :

Subject: [Boost-users] eigen2 and multi_array
From: Suresh Kumar (suresh.amritapuri_at_[hidden])
Date: 2010-09-15 22:14:24


Hi
I was trying to use boost::multi_array in a project where I am already
using eigen2. The following lines does not compile in my code, though
it compiles correctly outside my project ie as a standalone program
where eigen is not used.

typedef multi_array<double, 2> array_type;
array_type scores(extents[1][1]);

compiler error: ‘extents’ is not a type

Any suggestions?
thanks
suresh

-- 
R Suresh Kumar,
http://www.ee.ucr.edu/~sramachandranna
--
Dhyaana–moolam Guror murtih
Puja-moolam Guroh padam
Mantra – moolam Guror vakyam
Moksha – moolam Guroh krpa.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net