| 136 | |
| 137 | template <typename matrix_type> |
| 138 | void test_eigenvalue ( const matrix_type& m ) |
| 139 | { |
| 140 | typedef typename matrix_type::type type; |
| 141 | typedef typename matrix_type::mem_manager_type MM; |
| 142 | matrix<type,matrix_type::NR, matrix_type::NC, MM, row_major_layout> mr(m); |
| 143 | matrix<type,matrix_type::NR, matrix_type::NC, MM, column_major_layout> mc(m); |
| 144 | |
| 145 | { |
| 146 | eigenvalue_decomposition<matrix_type> test(mr); |
| 147 | test_eigenvalue_impl(mr, test); |
| 148 | |
| 149 | eigenvalue_decomposition<matrix_type> test_symm(make_symmetric(mr)); |
| 150 | test_eigenvalue_impl(make_symmetric(mr), test_symm); |
| 151 | } |
| 152 | |
| 153 | { |
| 154 | eigenvalue_decomposition<matrix_type> test(mc); |
| 155 | test_eigenvalue_impl(mc, test); |
| 156 | |
| 157 | eigenvalue_decomposition<matrix_type> test_symm(make_symmetric(mc)); |
| 158 | test_eigenvalue_impl(make_symmetric(mc), test_symm); |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | // ---------------------------------------------------------------------------------------- |
| 163 |
no test coverage detected