Registered Member
|
Hi,
I'd like to write #include #include USING_PART_OF_NAMESPACE_EIGEN int main() { MatrixXi A(2,3); cerr > A; cout > A(i,j); Is there such a beast? Furthermore, is there an option to start indexing at 1 (instead of 0) ? Many thanks for a hint, Helmut. |
Registered Member
|
No, there's no input yet in Eigen. It would be rather nontrivial to make it in such a way that's usable for a broad range of users. Nothing prevents you from having your own overload of operator MatrixBase so you could fill directly an arbitrary expression.
No, there's no such option. It could only be implemented as a separate method (in order to not disturb code that assumed 0-based access) and then nothing prevents you from adding such a method directly in MatrixBase: http://eigen.tuxfamily.org/api/CustomizingEigen.html
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell