1typedef std::vector<std::vector<double> > Matrix;
2
3Matrix matrix = { {0.1,1.1,.2},
4 {.4,.5,.6},
5 {.8,.9,.10}
6 };
7// Just initilization:
8int rows = 3;
9int cols = 3;
10Matrix m3(rows, std::vector<double>(cols) );