Re: [eigen] maxCoeff taking reference?

[ Thread Index | Date Index | More Archives ]

We chose pointers to emphasise they are out parameters. I would not add overloads taking references but maybe a version returning everything within a struct to be used with C++17 structure bindings?

On Thu, Mar 21, 2019 at 3:27 AM Meng Zhu <meng@xxxxxxxxxxxxx> wrote:
hi, I noticed eigen maxCoeff function ( takes pointers to return the max entry coord, and there is no overload to take reference type. is there a reason to not provide reference access? thanks.


Mail converted by MHonArc 2.6.19+