|
From: | Abhinav Tripathi |
Subject: | Re: PyTave and Symbolic |
Date: | Sun, 22 May 2016 20:24:41 +0530 |
On 20/05/16 03:40, Abhinav Tripathi wrote:
> I saw the python_to_octave.cc file
> and it seems that it throws exception when it can't recognise the
> object. So, how are we still getting the object when it is sym? I
> couldn't find it yet. Cause everytime i made a small change in pytave
> (basically only "cout<<" statements), i had to rebuild pytave and do
> everything again.
[replying to list]
Yes I often shy away from C++ for this reason! :-)
My plan was to modify python_to_octave.cc with special support for SymPy
objects (as a first step).
But maybe an easier way is possible: try this new PyTave bookmark:
https://bitbucket.org/macdonald/pytave/commits/branch/cbm_pyobj
Read "help @pyobj/dummy" and
http://wiki.octave.org/Python_interface#Python_Objects_in_Octave
Colin
[Prev in Thread] | Current Thread | [Next in Thread] |