[eigen] Sparse * Diagonal matrix product
[
Thread Index
|
Date Index
|
More lists.tuxfamily.org/eigen Archives
]
To
:
eigen@xxxxxxxxxxxxxxxxxxx
Subject
: [eigen] Sparse * Diagonal matrix product
From
: Trevor Irons <
trevorirons@xxxxxxxxx
>
Date
: Thu, 13 Jan 2011 12:52:31 -0700
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=0qn+a6bwrh5P308VjzFdbX6XgVwB8Ekoatqthf4GBRg=; b=x5HK9RD6LUFevRMPiqaaXILkuCtC0xZqGb+J3vYeuVIsQaYDTr/qBFqMyeZGHv7/W1 pJdBT9Sq8NQR+OvoVgBnjugk/BzFeDuTpytxWptDy+8MijUhrmTHs35QnyZg9Q9ATmAT PWQ1KLeMvpSLGLims2DXno8jFgYoxOythv27k=
Domainkey-signature
: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=q+64TH91ffsQ8EHm6yLcwTLO2Nb1OJlK3+ljiPBwAWVDZK6DReVgbGE7oN0moZTRFo W+QHOrUAYawJkiMGgRIo/6lGjpiIrJikURMD50p8FLvo3ycA0zMPF0JbdKToomIiStAT rsnz0XO3UuGv4llt8oNcl/8XY+vedHsfZjN+E=
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
Follow-Ups
:
Re: [eigen] Sparse * Diagonal matrix product
From:
Benoit Jacob
Messages sorted by:
[
date
|
thread
]
Prev by Date:
[eigen] Submission of two patches for Eigen 3
Next by Date:
Re: [eigen] Eigen2 to Eigen3 Migration Path
Previous by thread:
Re: [eigen] Submission of two patches for Eigen 3
Next by thread:
Re: [eigen] Sparse * Diagonal matrix product
Mail converted by
MHonArc
2.6.19+
http://listengine.tuxfamily.org/