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 19:48:33 +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=WG0/FbvIsiXc98zIpiqEZg68JGf9WU7hSCSqnP51Yzo=; b=KChTLfNuw48qwtSzg/QGcJsURiGrO3PDi/DSK6nW/c9O/fejHajwSfR+O6KRfqGAmb uc7SXcXE6BpTIN6MtxB0Z56pGwRvIX6QXhy5Iy+p3BcyEB98lFKQAJg+eHbzhWtqCdP+ j14DIpPe4yyqU+eygSYNos36Lg6QRCt6B+WWg=
- 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=h6vgY24Pcw/AAsuz53Xa5SNLhGnMcPp+jKBjUSOxKHTgsGE/Wt73igyJABclasRHmb FmVj5QhH+lttS8FEjJvUTN79cKB29ojwGlYF24HXEoWILYurnAbmfmY72KTRHawEJoYk oZq27/rViu+Ev0xuiNdqotovikrrIyi0nM6lE=
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
>>
>>
>
>
>