#include "Index.h" #include #include using namespace std; int main() { // Index idx1, idx2; // idx1.load("BIGINDEX"); // cout << idx1 << endl << idx2 << endl; // cout << "Functions in the math toolbox:" << endl; // std::vector fns = idx1.toolbox_functions("math"); // for (unsigned int i = 0; i < fns.size(); i++) { // cout << fns[i] << " "; // } // cout << endl << endl; // cout << "Function blah belongs to: " << idx1.function_toolbox("blah") << endl; // cout << "Function ode23 belongs to: " << idx1.function_toolbox("ode23") << endl; Index a, b; a.load("MERGEA"); b.load("MERGEB"); cout << a << endl << b << endl; cout << endl << "Merged result: " << endl << a + b << endl; }