Re: [eigen] Is this a bug with Visual Studio ?

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


Currently I cannot really tell. I guess it depends a lot on what you
really need in term of dimensionality (apparently 3D), and operations?
(slicing in all dimension? tensor products ?)

gael

On Wed, Mar 20, 2013 at 5:49 PM, Yann Salaun <yann.salaun@xxxxxxxx> wrote:
> Thanks for your answers. I've read the following thread:
> http://listengine.tuxfamily.org/lists.tuxfamily.org/eigen/2011/02/msg00045.html
> What is in your opinion the best way to manipulate multidimensional arrays
> with Eigen?
>
> Yann
> ________________________________
>
> From: "Gael Guennebaud" <gael.guennebaud@xxxxxxxxx>
> To: "eigen" <eigen@xxxxxxxxxxxxxxxxxxx>
> Sent: Wednesday, March 20, 2013 5:26:21 PM
>
> Subject: Re: [eigen] Is this a bug with Visual Studio ?
>
> 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
>> ----------------------------------------------
>>
>>
>
>
>



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