| 11 | |
| 12 | template<typename MatrixType> |
| 13 | void testMatrixSqrt(const MatrixType& m) |
| 14 | { |
| 15 | MatrixType A; |
| 16 | generateTestMatrix<MatrixType>::run(A, m.rows()); |
| 17 | MatrixType sqrtA = A.sqrt(); |
| 18 | VERIFY_IS_APPROX(sqrtA * sqrtA, A); |
| 19 | } |
| 20 | |
| 21 | void test_matrix_square_root() |
| 22 | { |
no test coverage detected