Defines |
#define | arma_debug_assert_cube_as_mat arma_assert_cube_as_mat |
#define | arma_debug_assert_mul_size arma_assert_mul_size |
#define | arma_debug_assert_same_size arma_assert_same_size |
#define | arma_debug_check arma_check |
#define | arma_debug_print arma_print |
#define | arma_debug_set_error arma_set_error |
#define | arma_debug_warn arma_warn |
#define | arma_extra_debug_check true ? (void)0 : arma_check |
#define | arma_extra_debug_print true ? (void)0 : arma_print |
#define | arma_extra_debug_sigprint true ? (void)0 : arma_bktprint |
#define | arma_extra_debug_sigprint_this true ? (void)0 : arma_thisprint |
#define | arma_extra_debug_warn true ? (void)0 : arma_warn |
#define | ARMA_FILELINE __FILE__ ": " ARMA_STRING2(__LINE__) |
#define | ARMA_FNSIG "(unknown)" |
#define | ARMA_STRING1(x) #x |
#define | ARMA_STRING2(x) ARMA_STRING1(x) |
Functions |
template<typename eT , typename T1 > |
void | arma_assert_cube_as_mat (const Mat< eT > &M, const T1 &Q, const char *x, const bool check_compat_size) |
void arma_hot | arma_assert_mul_size (const uword A_n_rows, const uword A_n_cols, const uword B_n_rows, const uword B_n_cols, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_mul_size (const Mat< eT1 > &A, const Mat< eT2 > &B, const char *x) |
| stop if given matrices are incompatible for multiplication
|
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_mul_size (const Mat< eT1 > &A, const Mat< eT2 > &B, const bool do_trans_A, const bool do_trans_B, const char *x) |
| stop if given matrices are incompatible for multiplication
|
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_mul_size (const Mat< eT1 > &A, const subview< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_mul_size (const subview< eT1 > &A, const Mat< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_mul_size (const subview< eT1 > &A, const subview< eT2 > &B, const char *x) |
void arma_hot | arma_assert_same_size (const uword A_n_rows, const uword A_n_cols, const uword B_n_rows, const uword B_n_cols, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const Mat< eT1 > &A, const Mat< eT2 > &B, const char *x) |
| stop if given matrices have different sizes
|
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const Proxy< eT1 > &A, const Proxy< eT2 > &B, const char *x) |
| stop if given proxies have different sizes
|
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const subview< eT1 > &A, const subview< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const Mat< eT1 > &A, const subview< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const subview< eT1 > &A, const Mat< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const Mat< eT1 > &A, const Proxy< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const Proxy< eT1 > &A, const Mat< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const Proxy< eT1 > &A, const subview< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const subview< eT1 > &A, const Proxy< eT2 > &B, const char *x) |
void arma_hot | arma_assert_same_size (const uword A_n_rows, const uword A_n_cols, const uword A_n_slices, const uword B_n_rows, const uword B_n_cols, const uword B_n_slices, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const Cube< eT1 > &A, const Cube< eT2 > &B, const char *x) |
| stop if given cubes have different sizes
|
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const Cube< eT1 > &A, const subview_cube< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const subview_cube< eT1 > &A, const Cube< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const subview_cube< eT1 > &A, const subview_cube< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const ProxyCube< eT1 > &A, const ProxyCube< eT2 > &B, const char *x) |
| stop if given cube proxies have different sizes
|
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const Cube< eT1 > &A, const Mat< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const Mat< eT1 > &A, const Cube< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const subview_cube< eT1 > &A, const Mat< eT2 > &B, const char *x) |
template<typename eT1 , typename eT2 > |
void arma_hot | arma_assert_same_size (const Mat< eT1 > &A, const subview_cube< eT2 > &B, const char *x) |
template<typename T1 > |
void arma_cold | arma_bad (const T1 &x, const bool hurl=true) |
| print a message to get_stream_err2() and/or throw a run-time error exception
|
void | arma_bktprint () |
template<typename T1 > |
void | arma_bktprint (const T1 &x) |
template<typename T1 , typename T2 > |
void | arma_bktprint (const T1 &x, const T2 &y) |
template<typename T1 > |
void arma_hot | arma_check (const bool state, const T1 &x) |
| if state is true, abort program
|
template<typename T1 , typename T2 > |
void arma_hot | arma_check (const bool state, const T1 &x, const T2 &y) |
template<typename T1 > |
void arma_hot | arma_check_bad_alloc (const bool state, const T1 &x) |
std::string arma_cold | arma_incompat_size_string (const uword A_n_rows, const uword A_n_cols, const uword B_n_rows, const uword B_n_cols, const char *x) |
arma_cold std::string | arma_incompat_size_string (const uword A_n_rows, const uword A_n_cols, const uword A_n_slices, const uword B_n_rows, const uword B_n_cols, const uword B_n_slices, const char *x) |
template<typename eT > |
arma_cold std::string | arma_incompat_size_string (const subview_cube< eT > &Q, const Mat< eT > &A, const char *x) |
void arma_cold | arma_print () |
template<typename T1 > |
void arma_cold | arma_print (const T1 &x) |
template<typename T1 , typename T2 > |
void arma_cold | arma_print (const T1 &x, const T2 &y) |
template<typename T1 , typename T2 , typename T3 > |
void arma_cold | arma_print (const T1 &x, const T2 &y, const T3 &z) |
arma_inline void arma_hot | arma_set_error (bool &err_state, char *&err_msg, const bool expression, const char *message) |
void | arma_sigprint (const char *x) |
template<typename T1 > |
void arma_cold | arma_stop (const T1 &x) |
| print a message to get_stream_err1() and/or throw a logic_error exception
|
template<typename T1 > |
void arma_cold | arma_stop_bad_alloc (const T1 &x) |
template<typename T > |
std::ostream & | arma_stream_err1 (std::ostream *user_stream) |
template<typename T > |
std::ostream & | arma_stream_err2 (std::ostream *user_stream) |
void | arma_thisprint (const void *this_ptr) |
template<typename T1 > |
void arma_cold | arma_warn (const bool state, const T1 &x) |
| print a message to the warn stream
|
template<typename T1 , typename T2 > |
void arma_cold | arma_warn (const bool state, const T1 &x, const T2 &y) |
template<typename T1 , typename T2 , typename T3 > |
void arma_cold | arma_warn (const bool state, const T1 &x, const T2 &y, const T3 &z) |
std::ostream & | get_stream_err1 () |
std::ostream & | get_stream_err2 () |
void | set_stream_err1 (std::ostream &user_stream) |
void | set_stream_err2 (std::ostream &user_stream) |