[eigen] Question about design of SelfAdjointEigenSolver

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


Hi Eigen developers,

   I wonder why SelfAdjointEigenSolver  CTORs accept a dense matrix-type 
instead of a SelfAdjointView<>. Since the input matrix is const, wouldn't 
such a design help with trapping bugs or enforcing some conceptual 
correctness?

   Also, I am just a little surprised that the SelfAdjointEigenSolver class is 
hardcoded to view only the lower triangle instead of taking a Lower|Upper 
mode flag in the template specialization - maybe for lack of time?

Thanks,
Manoj



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