Is there any new features benefit to scientific numerical in C++11?

For example: a native multi-dimensional variable size container? something like that? Thanks.
native multi-dimensional variable size container
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
#include <vector>

int main() {
	std::vector<std::vector<int>> arr = {{100, 120, 200}, {110, 140, 300}, {130, 170, 400}};
	arr[1][1] = 0;
	for(const auto& row: arr) {
	    for(const auto& elem: row)
	        std::cout << elem << " ";
	    std::cout << std::endl;
	}
}
http://ideone.com/WNJ8yu

Also look into <numeric> header. <ratio>, <complex>, <random> might be of interest for you too.
Topic archived. No new replies allowed.