Re: [eigen] Eigen2 to Eigen3 Migration Path |

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: eigen@xxxxxxxxxxxxxxxxxxx*Subject*: Re: [eigen] Eigen2 to Eigen3 Migration Path*From*: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>*Date*: Fri, 14 Jan 2011 00:06:01 -0500*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=CsNp5D92achAy7vtSrjLbR4PDvyn/s6hpxlEPFSmXO4=; b=WsgxSYezf+3k/z5Xlc23Ed0hRBjm34hOYc1U5aJ/3jWfer1yR1eWoxQD9Xdi56X3LF VcGnnf+yW6anorOFqpdfBFIoyvAC8dTnxIXFk3YuMoTxBlKrFriUvET6LwDRnSV83Lhy /yRTYneuoDfyFpW+CvjQuQquGNUT8B7QGur/M=*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=ZA9JCBPGtKGXVJ4E6u4FV7KxGTDDmznk1VI8Twu8syg//h0Dc8jFYURy/OWXeQyQc/ sbqgVOx9BydPi73h+in8aOwO4WANDbrcnvze0bnNa+4bNRlGgZV8qIgVm5SdSZwNZRhz yZiEMsaifplgqnBsDhNdnZgaR7eSA4btc9fvA=

2011/1/13 Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>: > On Thu, Jan 13, 2011 at 12:13 AM, Gael Guennebaud > <gael.guennebaud@xxxxxxxxx> wrote: >> >> The EIGEN2_SUPPORT way seems much more powerful. Let's be specific. If >> project A wants to use Eigen3 as well as a lib B which relies on >> Eigen2 then there are two cases: > > >> >> 1 - lib B is a pure template lib (or at least the parts which rely on >> Eigen2) then EIGEN2_SUPPORT should do the job (we can make it better >> if needed). > > >> >> 2 - lib B is a binary library with a public API involving Eigen2 >> objects. Then there is still the possibility to recompile B with >> Eigen3+EIGEN2_SUPPORT. > > 3 - lib B is a binary library without Eigen2 in the public API. Again, there > exists the possibility to recombile B with Eigen3+EIGEN2_SUPPORT. > > Asumming for a moment we had Eigen:: and Eigen3:: namespaces. This would > imply the following things. OK, so let's focus for now on Gael's solution (tell people to use Eigen3 + EIGEN2_SUPPORT) plus my suggestion to make EIGEN2_SUPPORT as complete as possible and validated by the actual eigen2 test suite. At least it doesn't hurt anyone. It's true that if Eigen3 + EIGEN2_SUPPORT were 100% API compatible with Eigen2 then the lack of ABI compatibility wouldn't be a big problem anymore since switching would be virtually costless. > Regarding kdl (http://www.orocos.org/kdl), I tried to compile it > against Eigen3+EIGEN2_SUPPORT and the major hickup I am seeing is caused by > Map's const-correctness. We should be able to fix that through the plugin by > re-enabling the non-const constructor of Maps though I did not properly > think this over. Ah, ok. It should be quite easy to allow non-const-correct Map constructors with EIGEN2_SUPPORT. Benoit

**Follow-Ups**:**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Gael Guennebaud

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Tully Foote

**References**:**[eigen] Eigen2 to Eigen3 Migration Path***From:*Tully Foote

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Benoit Jacob

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Gael Guennebaud

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Benoit Jacob

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Benoit Jacob

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Benoit Jacob

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Benoit Jacob

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Tully Foote

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Hauke Heibel

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Benoit Jacob

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Hauke Heibel

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Gael Guennebaud

**Re: [eigen] Eigen2 to Eigen3 Migration Path***From:*Hauke Heibel

**Messages sorted by:**[ date | thread ]- Prev by Date:
**[eigen] Sparse * Diagonal matrix product** - Next by Date:
**Re: [eigen] Eigen2 to Eigen3 Migration Path** - Previous by thread:
**Re: [eigen] Eigen2 to Eigen3 Migration Path** - Next by thread:
**Re: [eigen] Eigen2 to Eigen3 Migration Path**

Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |