On 03/08/2013 07:49 AM, Александров Петр wrote:
I have the C++ method which resize boost::numeric::array:
void solve(const TReal start_t, const TReal end_t, boost::python::numeric::array
&result) {
...
result.resize(make_tuple(...));
...
}
and this method is called from Python:
I have the C++ method which resize boost::numeric::array:
void solve(const TReal start_t, const TReal end_t,
boost::python::numeric::array &result) {
...
result.resize(make_tuple(...));
...
}
and this method is called from Python:
some_object.solve(0, 10, solution)
where solution