A good way to output array values from Python and then take them in through C++?
<p>Due to annoying overflow problems with C++, I want to instead use Python to precompute some values. I have a function f(a,b) that will then spit out a value. I want to be able to output all the values I need based on ranges of a and b into a file, and then in C++ read that file and popular a vector or array or whatever's better.</p>

<ol>
<li>What is a good format to output f(a,b) in?</li>
<li>What's the best way to read this back into C++?</li>
<li>Vector or multidim array?</li>
</ol>
