Hi everybody,
I was trying to define a two dimensional vector under root and it seems I am having problem. I just enter the command
vector < vector > data
and I receive the error:
root [1] vector < vector > data; Error: Symbol vector<vector >data is not defined in current scope (tmpfile):1: *** Interpreter error recovered ***
One dimensional vector is just fine.
Thanks, Bahman.
By default, ROOT provides a dioctionary only for the most basic STL cases. For others you should create a dictionary for the other types of collections with something like
[code]#include #ifdef MAKECINT #pragma link C++ class vector<vector >+; #endif
void test() { vector < vector > data; } [/code]
Rene
Thanks a lot for your time and reply.