[eigen] Keyword template

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


I had to use a keyword "template" to access some data:
Eigen::SparseMatrix<T> A;
A.template triangularView<Eigen::Upper>();

However, I don't understand how it works.
Could you explain me what it means and why it is necessary to use this keyword?

Thank you very much.


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