| 126 | |
| 127 | template<typename MatrixType> |
| 128 | void testHyperbolicFunctions(const MatrixType& A) |
| 129 | { |
| 130 | // Need to use absolute error because of possible cancellation when |
| 131 | // adding/subtracting expA and expmA. |
| 132 | VERIFY_IS_APPROX_ABS(A.sinh(), (A.exp() - (-A).exp()) / 2); |
| 133 | VERIFY_IS_APPROX_ABS(A.cosh(), (A.exp() + (-A).exp()) / 2); |
| 134 | } |
| 135 | |
| 136 | template<typename MatrixType> |
| 137 | void testGonioFunctions(const MatrixType& A) |
no test coverage detected