Re: [eigen] Is this a bug with Visual Studio ? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [eigen] Is this a bug with Visual Studio ?
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Wed, 20 Mar 2013 17:26:21 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=op5mYvOwl9/qFJwrrL5h7FlNjyp2BjyUflQ5m05EHvU=; b=g8FFL2DFtna5TDHXAhpDYZ8LoTGCysCYYzcIJ0x3hYhtLiw7vYr8EHTM35RqBFm45j uCnnsmNzcNfBQKZ4nGxOu86aU8V86SarQuw1u2lARuZP7z3Of05AoT2mL1mRvHEoscuZ h6WGR6ouj3YCZVXcbAVgJiK7/nOxHb7BpUGettr/Ni7E9/QkbT35LjHrIMX/yxEjiw5y vTrEkMxwrQc/URrCUtl7sN0KbWBIsfwFsHbPbQRePY050AtzR8uuZhrMu3OT9ps0hUo6 8pfFkQ8IGzjlRIx5KoF73Jjq+j4flcd/hDsFVPleJDiF7ipWZs96ZlSovTnkF2HKMCoo BuFQ==
This is indeed very experimental, and I doubt we can go very far
without some significant change in the definitions of Scalar and
RealScalar. In the meantime you can try to add :
static inline RealScalar epsilon() { return
NumTraits<RealScalar>::epsilon(); }
static inline RealScalar dummy_precision() { return
NumTraits<RealScalar>::dummy_precision(); }
line 143 in src/Core/NumTraits.h
and let us know how far you can go.
gael
On Wed, Mar 20, 2013 at 5:12 PM, Christoph Hertzberg
<chtz@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On 20.03.2013 17:07, Yann Salaun wrote:
>>
>> No, actually I mean
>>
>> Array<ArrayXXcd, 1, Dynamic> foo;
>>
>> but I have the same error with the simpler case.
>
>
> Arrays of Arrays (as well as Matrices of Matrices) are very experimental at
> the moment. There is an ongoing discussion about sparse matrices consisting
> of block matrices here:
>
> http://listengine.tuxfamily.org/lists.tuxfamily.org/eigen/2013/03/msg00039.html
>
> Christoph
>
> --
> ----------------------------------------------
> Dipl.-Inf., Dipl.-Math. Christoph Hertzberg
> Cartesium 0.049
> Universität Bremen
> Enrique-Schmidt-Straße 5
> 28359 Bremen
>
> Tel: +49 (421) 218-64252
> ----------------------------------------------
>
>