Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Compute, check and optionally print the relative error in two scalars. More...
#include <Teuchos_TestingHelpers.hpp>
Public Types | |
typedef Teuchos::ScalarTraits < T1 >::magnitudeType | magType1 |
typedef Teuchos::ScalarTraits < T2 >::magnitudeType | magType2 |
typedef std::common_type < magType1, magType2 >::type | magnitudeType |
Static Public Member Functions | |
static bool | eval (const std::string &v1_name, const T1 &v1, const std::string &v2_name, const T2 &v2, const std::string &maxRelErr_error_name, const magnitudeType &maxRelErr_error, const std::string &maxRelErr_warning_name, const magnitudeType &maxRelErr_warning, const Ptr< std::ostream > &out) |
Compute, check and optionally print the relative error in two scalars.
ToDo: Finish documentation!
Definition at line 134 of file Teuchos_TestingHelpers.hpp.
typedef Teuchos::ScalarTraits<T1>::magnitudeType Teuchos::TestRelErr< T1, T2, Enabled >::magType1 |
Definition at line 135 of file Teuchos_TestingHelpers.hpp.
typedef Teuchos::ScalarTraits<T2>::magnitudeType Teuchos::TestRelErr< T1, T2, Enabled >::magType2 |
Definition at line 136 of file Teuchos_TestingHelpers.hpp.
typedef std::common_type<magType1,magType2>::type Teuchos::TestRelErr< T1, T2, Enabled >::magnitudeType |
Definition at line 137 of file Teuchos_TestingHelpers.hpp.
|
inlinestatic |
Definition at line 138 of file Teuchos_TestingHelpers.hpp.