Re: [eigen] An insistent plea for an input operator |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] An insistent plea for an input operator
- From: Rhys Ulerich <rhys.ulerich@xxxxxxxxx>
- Date: Sat, 16 Oct 2010 11:29:13 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=OCttoByh3+Jq2fTRVnqGKwBhUgxjIw2TZeTiOF6qWDw=; b=ZuurMFWVmIkqg/0tHb//8ySSAU7R0fxjrq3ir2joBNG61vl+pGDJ5fGGxupBDzmcY8 f+gADe8TYjoBXi+bqxYDWZr9OE2AsEH8nbXE4Q+0hd833wEg7kBfizicUnHLUVyUC5qj Q+Qhd4WED0CY++Ah3k0yuiN5KthT5HYwpz2Pk=
- 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=QgkX1LYxXLDo7zyRITWehlgnjE8ig5O42Cp9IprjffleqtL/ZC0fFFavaU+FAIjPyh JrsxCRR8YB1pYBx+s90Qy50XVD3jEMoQ3f/GErTQ8d/C/jKOMPOPgR/So731XO1jjx1O d3pbuJGakZ1SXqVvERQTznyqvQ1h4uwj8y0Mc=
Hi all,
This is a revival of a dead thread started by Helmut Jarausch back in
July. It regards having an operator>> overload to simplify populating
matrices from an istream:
Hauke gave some example code like,
>>> std::cout << Eigen::Format(...) << m;
>>>
>>> or this
>>>
>>> std::cin >> Eigen::Format(...) >> m;
Benoit said:
>> Ah, this looks possible. so here the std::cout << Eigen::Format(...)
>> would return a stream of a different type, inheriting the type of the
>> original stream.
Did something along these lines make it into version 2 or version 3?
I've dug around in the online documentation, (grep -R)ed for
'operator>>', and scanned the open bug reports without finding
anything.
If not, mind if I open a feature request on it?
- Rhys