Re: [eigen] Keyword template

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


Cedric Doucet writes:

> Hello,
>
> 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.

Hi, Cédric, I think this covers your question:

http://eigen.tuxfamily.org/dox/TopicTemplateKeyword.html



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