[eigen] Obtaining triplets from sparsematrix
[
Thread Index
|
Date Index
|
More lists.tuxfamily.org/eigen Archives
]
To
:
eigen@xxxxxxxxxxxxxxxxxxx
Subject
: [eigen] Obtaining triplets from sparsematrix
From
: Mathieu Dutour <
mathieu.dutour@xxxxxxxxx
>
Date
: Wed, 8 Jul 2015 16:37:46 +0200
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nCSwNBxF8xQXd43JuOqQWTbLtc5yh3bsxdK024gmMpk=; b=TToKCqeiGjXsJG83iQCPQR+E8NXvGXQ0fDRqTv+2OcUPxU1mixlHGtOmYUGjf63k8X H/+wlEIQ5PTTqzUdKGKpEdbs1/3JqNBKa8tsJimviGk5pbtZ6GC2R/O/wjqTOODs7/Oa a/QbbNmyQVF6unpBRFGwyLf7RZR8pq4U/tAxgytn2icOF/F9DZC7Soc/eWzTD0Yg5GUz AR/JwLqL7E28orSLbSTfMSbAblsbQObu0x4MGQs/pavPtQIOIwlXHT3tLzKYORKdxphK UXOhW7pM4p9UN8KeIEY3dn9El3NJBviAqAizMO+QBdb0ASJaXIY5yPYbQXtWK75OCCNw UjCQ==
Hi all,
I managed to construct sparse matrices by using
triplets list.
But I would like to do the reverse, i.e. obtain the triplets
from the sparse matrix. Is there a simple way for that?
What I would like is something like
std::vector<Eigen::Triplet<T> > eMat.getListTriple();
I searched but there does not seem to be such a function
in the code. Any help appreciated.
Mathieu
Follow-Ups
:
RE: [eigen] Obtaining triplets from sparsematrix
From:
Daniel.Vollmer
Messages sorted by:
[
date
|
thread
]
Prev by Date:
Re: [eigen] BiCGSTAB iteration count
Next by Date:
RE: [eigen] Obtaining triplets from sparsematrix
Previous by thread:
Re: [eigen] BiCGSTAB iteration count
Next by thread:
RE: [eigen] Obtaining triplets from sparsematrix
Mail converted by
MHonArc
2.6.19+
http://listengine.tuxfamily.org/