[eigen] Question about design of SelfAdjointEigenSolver |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] Question about design of SelfAdjointEigenSolver
- From: Manoj Rajagopalan <rmanoj@xxxxxxxxx>
- Date: Thu, 15 Jul 2010 17:16:07 -0400
- Organization: EECS Dept., University of Michigan, Ann Arbor, MI, USA
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