|
Agora
1.2.0
Agora project
|
#include <gflags/gflags.h>#include <mkl.h>#include <iostream>#include "armadillo"#include "timer.h"
Macros | |
| #define | ARMA_DONT_PRINT_ERRORS |
Enumerations | |
| enum | PinvMode { PinvMode::kFormula, PinvMode::kSVD, PinvMode::kFormula, PinvMode::kSVD } |
Functions | |
| DEFINE_uint64 (n_ants, 64, "Number of matrix rows") | |
| DEFINE_uint64 (n_users, 32, "Number of matrix columns") | |
| DEFINE_double (condition, 10, "Condition number of input matrix") | |
| static void | rt_assert (bool condition, const char *throw_str) |
| arma::cx_fmat | gen_matrix_with_condition (double cond_num) |
| int | main (int argc, char **argv) |
| #define ARMA_DONT_PRINT_ERRORS |
|
strong |
| DEFINE_double | ( | condition | , |
| 10 | , | ||
| "Condition number of input matrix" | |||
| ) |
| DEFINE_uint64 | ( | n_ants | , |
| 64 | , | ||
| "Number of matrix rows" | |||
| ) |
| DEFINE_uint64 | ( | n_users | , |
| 32 | , | ||
| "Number of matrix columns" | |||
| ) |
| arma::cx_fmat gen_matrix_with_condition | ( | double | cond_num | ) |


| int main | ( | int | argc, |
| char ** | argv | ||
| ) |

|
inlinestatic |
Check a condition at runtime. If the condition is false, throw exception. This is faster than rt_assert(cond, std::string) as it avoids string construction.
