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: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sat, 16 Oct 2010 15:23:39 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=TUHA/my2eWU69xXhRHW/B8TERYdx8Za/HK2PDZrcg3c=; b=SGovRUGq6FYdcodBu3klV37f/75IuGVQIJMkgvtTRHKMNsOtOhwqjhCTKmG6QLrl2e lYnlK/bDN7uj+AoSVVPmRas9M0FNNkm4X2kh5kFKcQWhNjm1LBoMPLs4SNvMB3nB+jZs gcQGCUFcFH2dlwau6e9dZ+CGVT3aNPh6kXk+s=
- 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=J8gZG/pvBd8AKNe4cJj/NhUANhwqOnlsYr8uJ5URrwV3kjsSbNg5QugQ4TywbM6QGd Ws36qvZMcnTO2AIjKUyQ9a2aFm87NQ1zdIMjQYIscla8EqUTB0EXDfzQfP2bI1HN/jt9 OjAN8iwwxFQOHGb2OGnkLecZpoDqJ8h/qfLOk=
2010/10/16 Rhys Ulerich <rhys.ulerich@xxxxxxxxx>:
> 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?
Nothing happened yet.
> 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?
You totally should. Today again, someone asked for it on the forum.
Benoit
>
> - Rhys
>
>
>