42 #ifndef ASSERT_PRINT_NAN_INF_H
43 #define ASSERT_PRINT_NAN_INF_H
48 #include "DenseLinAlgPack_Types.hpp"
50 namespace DenseLinAlgPack {
54 {
public:
NaNInfException(
const std::string& what_arg) : std::runtime_error(what_arg) {}};
76 bool assert_print_nan_inf(
const value_type& val,
const std::string & name
77 ,
bool throw_excpt, std::ostream* out );
99 bool assert_print_nan_inf(
const DVectorSlice& v,
const std::string & name
100 ,
bool throw_excpt, std::ostream* out );
122 bool assert_print_nan_inf(
const DMatrixSlice& m,
const std::string & name
123 ,
bool throw_excpt, std::ostream* out );
127 #endif // ASSERT_PRINT_NAN_INF_H