37 std::cerr << MR::App::NAME << ": at " << __FILE__ << ": " << __LINE__ << "\n";
41#define VAR(variable) \
42 std::cerr << MR::App::NAME << " [" << __FILE__ << ": " << __LINE__ << "]: " << #variable << " = " << (variable) << "\n";
45#define MAT(variable) { \
46 Eigen::IOFormat fmt(Eigen::FullPrecision, 0, ", ", ",\n ", "[", "]", "\nnp.array([", "])"); \
47 std::cerr << MR::App::NAME << " [" << __FILE__ << ": " << __LINE__ << "]: " << #variable << " = " << (variable.format(fmt)) << "\n"; \
50#define VEC(variable) { \
51 std::cerr << MR::App::NAME << " [" << __FILE__ << ": " << __LINE__ << "]: " << #variable << " = "; \
52 for (ssize_t i=0; i<variable.size(); ++i){std::cerr << str(variable(i)) << " "; } \
53 std::cerr << std::endl; \
60 std::cerr << MR::App::NAME << " [" << __FILE__ << ": " << __LINE__ << "]: paused (press any key to resume)\n"; \
61 std::string __n__; std::getline (std::cin, __n__); \