Re: [eigen] Sparse * Diagonal matrix product |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Sparse * Diagonal matrix product
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Fri, 14 Jan 2011 20:22:47 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=Y0jvhiJnEKMYY8PsnLgXpqvx1Kn5miwPyOAlgNCYYxc=; b=TBkP8vgyTmGrEneLq5fsKuERNkM2/22huEadh2DwtsOcgeLN4SgWuuXMDCgFb96DMv DP+s9o+wL2bbm/qVkNiRZ0Z1sdBS01nqSoW1cGxoa0a4qh89wazbAG4XPVcT6Nt6BrRV UtBrneBzk4QobHZOL444vOUJ17jdFucOx/2KQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=NsvFdOCpyCSuJgYgCAwEayp8AbN4u1AhGXdwat4Jrgsn4dx3WYyYTjoWIkiMzIIAoA hLBq/B0AOXvHVWDduVHqWfa0HWgRfW5U5ahihSZJpuv8o8FI1XknquW/wJuNw6ZquuWv FLCLK73DiuS2MU3IWxpcSTcvR0cgw0tJSolIk=
fixed.
gael
On Fri, Jan 14, 2011 at 7:48 PM, Gael Guennebaud
<gael.guennebaud@xxxxxxxxx> wrote:
> ths issue comes from revision: 3594:1a966e71de70
>
> Bug 54 - really fix const correctness except in Sparse
>
> I'll check what's going on later...
>
> gael
>
> On Fri, Jan 14, 2011 at 4:19 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
>> Please give us a compilable test case, and even better, please bisect it :)
>>
>> Benoit
>>
>> 2011/1/13 Trevor Irons <trevorirons@xxxxxxxxx>:
>>> Greetings:
>>>
>>> I have some code that used to compile that was like:
>>>
>>> VectorXd X = VectorXd::Random(5);
>>> DynamicSparseMatrix<double, RowMajor> D(5, 5);
>>> for (int i=0; i<5; ++i) D.coeffRef(i,i) = 1;
>>> cout << D*X.asDiagonal() << endl; // product fails to compile
>>>
>>> The sparse times diagonal product seems to no longer be defined.
>>> Was removal of this functionality intentional?
>>>
>> -- Trevor
>>>
>>>
>>
>>
>>
>