1 #ifndef INTERPROCESSSENDER_H 2 #define INTERPROCESSSENDER_H 10 InterprocessSender(std::map<std::string, arma::mat*> invars, std::vector<std::string> outvar_names);
12 bool SendToR(std::string command);
13 std::map<std::string, arma::mat>
GetValues();
15 std::map<std::string, arma::mat*> invars_;
16 std::vector<std::string> outvar_names_;
17 std::map<std::string, arma::mat> outvars_;
28 data_object(
const char* name,
int n_rows,
int n_cols,
const void_allocator &void_alloc)
29 : n_rows_(n_rows), n_cols_(n_cols), data_(void_alloc), name_(name, void_alloc){}
36 #endif // INTERPROCESSSENDER_H void push_back(double val)
bool SendToR(std::string command)
InterprocessSender(std::map< std::string, arma::mat * > invars, std::vector< std::string > outvar_names)
data_object(const char *name, int n_rows, int n_cols, const void_allocator &void_alloc)
bool SendToOctave(std::string command)
std::map< std::string, arma::mat > GetValues()
A namespace for "global" functions, including math functions.