ug4
number_util.h File Reference

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

bool ug::CloseToZero (double d)
 
template<std::size_t N, std::size_t M, typename T >
bool ug::IsFiniteAndNotTooBig (const MathMatrix< N, M, T > &m)
 
template<size_t TRank, size_t N, typename T >
bool ug::IsFiniteAndNotTooBig (const MathTensor< TRank, N, T > &t)
 
template<typename TData , size_t N>
bool ug::IsFiniteAndNotTooBig (const MathTensorX< TData, N > &t)
 
template<std::size_t N, typename T >
bool ug::IsFiniteAndNotTooBig (const MathVector< N, T > &m)
 
template<typename TData >
bool ug::IsFiniteAndNotTooBig (const std::vector< TData > &t)
 
bool ug::IsFiniteAndNotTooBig (double d)
 
template<typename T >
bool ug::IsVectorFiniteAndNotTooBig (const T &t)
 
template<typename T >
bool ug::ThrowIfIsVectorNanOrTooBig (const T &t, const char *callerName)
 
template<typename T >
bool ug::WarnIfIsVectorNanOrTooBig (const T &t, const char *callerName)