|
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 T> |
bool | check_value (const std::vector< T > &xs) |
| Check if a std::vector of numerical objects has invalid values.
|
|
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 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> |
T | sign (const T &x) |
|
template<typename Derived, unsigned int UpLo = Eigen::Lower> |
void | make_symmetric (const Eigen::MatrixBase< Derived > &matrix) |
| Symmetrize a matrix using its lower triangular part.
|
|
template<typename T> |
void | setZero (std::vector< T > &mats) |
|
template<typename A, typename B, typename OutType, typename Scalar> |
void | vectorMultiplyAdd (const std::vector< A > &a, const std::vector< B > &b, std::vector< OutType > &c, const Scalar alpha) |
| Compute zi = xi + alpha * yi for all i.
|
|