|
| template<typename MatType> |
| MatType::Scalar | infty_norm (const Eigen::MatrixBase< MatType > &z) |
| |
| template<typename MatType> |
| MatType::Scalar | infty_norm (const std::vector< MatType > &z) |
| |
| template<typename Scalar> |
| bool | check_scalar (const Scalar value) |
| | Check that a scalar is neither inf, nor NaN.
|
| |
| template<typename Scalar> |
| bool | scalar_close (const Scalar a, const Scalar b, const Scalar prec=std::numeric_limits< Scalar >::epsilon()) |
| | Tests whether a and b are close, within absolute and relative precision prec.
|
| |
| template<typename T, typename = std::enable_if_t<std::is_scalar<T>::value>> |
| bool | check_value (const T &x) |
| |
| template<typename MatrixType> |
| bool | check_value (const Eigen::MatrixBase< MatrixType > &x) |
| |
| template<typename T> |
| T | sign (const T &x) |
| |