Re: [eigen] Sparse -- Diagonal product |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Sparse -- Diagonal product
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Wed, 20 May 2009 14:18:39 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=0rcAMSG94IfMIWVwuqJstc8wpGbkIhtAaDjJHpXfl04=; b=rcKLKyropFxm3KC6Bb1IU+9i/sJz0gmJmXbUjopfyXZ1ga5lfLIiz+C1n+36kce4l+ xspOhWubQSqShMpi+zljh3QsYAsCXFjUe0oivc+LpCMZQu3NObOxb3NgssIuL2Ps6UpC pEJq1RiLWElmr31DbICOqUc4FKnAPalIatDA4=
- 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=Kmh+UNnM95YFxOwryb8HRHcGYpLMH+dlAotsa4OA/O1/cSOg/3FzQ4bTdC5tJCUiDO cvWeYu5y+pZ585fcIpeU9HBdJ65zAf8/LzMlvC8oq9yQgf/KjH1Wgl2GZfi0PU+kSiNW CRG020zQEJ/zVQoVGDJFFzfRf96eHiNDAAa6Y=
Actually I am just working on this at the moment (see recent threads
on diagonal matrices).
As Gael said this is changing.
Normally I'd happily let you handle this but this one is really
tightly integrated with several other core issues.
Cheers,
Benoit
2009/5/20 Justin Carlson <justinca@xxxxxxxxxx>:
> I was a bit surprised today to figure out that Eigen current evaluates
> the product of a diagonal matrix with a sparse matrix as a dense
> matrix.
>
> Is this intentional? Changing the result to be sparse (which seems
> sane to me, particularly given my current usage of the library) seems
> like the right thing to do, but it would represent an API change.
>
> Is there a design rationale for this, or is it just that no
> appropriate specializations have been implemented yet for this case?
> If there aren't objections to changing the behavior, I'll see about
> submitting a patch.
>
> Thanks,
> -J
>
>
>