Re: [eigen] eigen and boost::multi_array |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] eigen and boost::multi_array
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Thu, 16 Sep 2010 00:44:27 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+e2xqHkXxHLlSgvEl+uLfMTklK2smzE3dbbl8N1Podg=; b=euupJvBYMnEmz2wkq3MNft0fG1vmzWwEEkd4Ual5kjs2rQGPxciRnTh1EMPoVPuoun IIrlzoGPMWoyPzQBVurMsbxvE5E6mhU23Pn4VgK3FWxU/sEQFh9EVVmGq9/BCpd7U8Ei VmMXWFcE2jUJmfoD4SR/dVnyf66SrVFkOMQNM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=eZcky96SgNcPh4EF+lVu1ZnzERTiL7lUfRG+NfmFQwWnpD8AdITIB4QgedspFsTAIx 68KTuISShNaa+9HjBlcEn191+IgS5Ww36BS7Xqbu4fWGwbX4rMfUxPtroE/zQcxUftFK V0wpvb2jHxt5E4s8iQcBwXSIu1UDSETHnNJwA=
Eigen does put all its stuff into namespace Eigen. This means that
unless you do "using namespace Eigen;" you shouldn't get any
pollution. Macros, too, are prefixed with EIGEN_. In addition, we
don't have any match of the string "extent" in Eigen (according to
grep).
Benoit
2010/9/15 Suresh Kumar <suresh.amritapuri@xxxxxxxxx>:
> 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
> I guess it happens because of eigen ..
> Any suggestions?
> thanks
> suresh
>
>