Re: [eigen] Recursion and block matrices |

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

*To*: eigen@xxxxxxxxxxxxxxxxxxx*Subject*: Re: [eigen] Recursion and block matrices*From*: Christoph Hertzberg <chtz@xxxxxxxxxxxxxxxxxxxxxxxx>*Date*: Tue, 18 Sep 2012 17:59:52 +0200

On 18.09.2012 17:51, Norman Goldstein wrote:

I figured this one out by decomposing the C++ statements until the compiler message was more specific. It turns out that the compiler was being asked to match Stride<0,0> with Stride<-1,-1>. The former is defaulted in some declarations, while the latter is for dynamic stride. When would one want to use Stride<0,0>?

Christoph

On 08/28/2012 01:01 AM, Gael Guennebaud wrote:With the devel branch you might try: void incr(Ref<MatrixXd> mat) { // no cast needed ... }

-- ---------------------------------------------- Dipl.-Inf. Christoph Hertzberg Cartesium 0.049 Universität Bremen Enrique-Schmidt-Straße 5 28359 Bremen Tel: +49 (421) 218-64252 ----------------------------------------------

**Follow-Ups**:**Re: [eigen] Recursion and block matrices***From:*Norman Goldstein

**References**:**Re: [eigen] Recursion and block matrices***From:*Norman Goldstein

**Re: [eigen] Recursion and block matrices***From:*Norman Goldstein

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] Recursion and block matrices** - Next by Date:
**Re: [eigen] Using Eigen in commercial software** - Previous by thread:
**Re: [eigen] Recursion and block matrices** - Next by thread:
**Re: [eigen] Recursion and block matrices**

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