Re: [C++-sig] [Boost.Python] Resizing boost::numeric::array

2013-03-14 Thread Jim Bosch
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:

[C++-sig] [Boost.Python] Resizing boost::numeric::array

2013-03-08 Thread Александров Петр
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