64 aa_dump_mat( FILE *file, const
double *A,
size_t m,
size_t n );
80 #define AA_DUMP_MAT( file, fmt, A, m, n) \
82 for( size_t aa_debug_$_i = 0; aa_debug_$_i < m; \
84 for( size_t aa_debug_$_j = 0; aa_debug_$_j < n-1; \
86 fprintf(file, fmt"\t", \
87 AA_MATREF(A, m, aa_debug_$_i,aa_debug_$_j)); \
89 fprintf(file, fmt"\n", \
90 AA_MATREF(A, m, aa_debug_$_i, n-1) ); \
#define AA_API
calling and name mangling convention for functions
#define AA_EXTERN
name mangling convention external symbols
AA_API void aa_dump_matf(FILE *file, const float *A, size_t m, size_t n)
Print matrix to file.
AA_API void aa_verbf(int min_level, const char fmt[],...) AA_DEPRECATED
don't use
AA_API void aa_dump_mat(FILE *file, const double *A, size_t m, size_t n)
print a matrix to file
AA_API struct timespec aa_tock(void)
print and return elapsed time since aa_tick()
AA_EXTERN const char *aa_verbf_prefix AA_DEPRECATED
don't use
AA_API void aa_tick(const char fmt[],...)
save time, printf fmt
AA_API void aa_hard_assert(int test, const char fmt[],...)
bail out if test is false
AA_API void aa_dump_vec(FILE *file, const double *v, size_t n)
print a vec to file