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: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Fri, 14 Jan 2011 10:19:52 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=Z/jcbEPzJJd2w+I1Iqi0c4plsjTYE3N29qs0Ho2B8bA=; b=c0VKOv8aYVeyDM8GcMdPBKbNCo6gQRrLDChAliVqRvsGStdbTyFqgyie2X5WpcwdPx cR9EcsfvRy4y+XVHgoPo3ymGTmWkzqZ83/MlETmkjV/7p18iM7Grt1O+TOm6a159RNwd gMiEDHhQDwmAsfdQjd0pywHINPoFQDGk1GG3c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=eKp+VV8T1ATcOtRxJ3gd3B/yNNRkIfFWVOQQYPS/p3M/dJo0D+LoHuEBLEkXyG+avW lM2x+CMKeEwcKOfwZlqkvUm2gEdt+Jvhl9FjJm1aZP/FZ8DdYgF49HWy6mFC6dgvnEXV a4nyMtCBBMpdD3rjCsmpVzFXmc0MLGV3Imci0=
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
>
>