Re: [eigen] An insistent plea for an input operator

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


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



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/