File numerics/src/tools/debug.h

Go to the source code of this file

Some debug facilities.

Defines

ANSI_COLOR_BLUE
ANSI_COLOR_CYAN
ANSI_COLOR_GREEN
ANSI_COLOR_MAGENTA
ANSI_COLOR_RED
ANSI_COLOR_RESET
ANSI_COLOR_YELLOW
DEBUG_BEGIN(M)
DEBUG_END(M)
DEBUG_EXPR(E)
DEBUG_EXPR_WE(E)
DEBUG_GLOBAL_VAR_DECL(D)
DEBUG_OR_VERBOSE(X)
DEBUG_PRINT(M)
DEBUG_PRINT_MAT(M, nrows, ncols)
DEBUG_PRINT_MAT_ROW_MAJOR(M, nrows, ncols)
DEBUG_PRINT_MAT_ROW_MAJOR_NCOLS(M, nrows, ncols, ncols_to_display)
DEBUG_PRINT_MAT_ROW_MAJOR_NCOLS_SMALL2_STR(NAME, M, nrows, ncols, ncols_to_display, ...)
DEBUG_PRINT_MAT_ROW_MAJOR_NCOLS_SMALL_STR(NAME, M, nrows, ncols, ncols_to_display)
DEBUG_PRINT_MAT_ROW_MAJOR_NCOLS_STR(NAME, M, nrows, ncols, ncols_to_display)
DEBUG_PRINT_MAT_ROW_MAJOR_SMALL_NCOLS(M, nrows, ncols, ncols_to_display)
DEBUG_PRINT_MAT_ROW_MAJOR_STR(NAME, M, nrows, ncols)
DEBUG_PRINT_MAT_SMALL_STR(NAME, M, nrows, ncols, ...)
DEBUG_PRINT_MAT_STR(NAME, M, nrows, ncols)
DEBUG_PRINT_SMALL_MAT(M, nrows, ncols)
DEBUG_PRINT_VEC(V, size)
DEBUG_PRINT_VEC_INT(V, size)
DEBUG_PRINT_VEC_INT_STR(MSG, V, size)
DEBUG_PRINT_VEC_STR(MSG, V, size)
DEBUG_PRINTF(_fmt, ...)
DECIMAL_DIG