octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PyTave and Symbolic


From: Colin Macdonald
Subject: PyTave and Symbolic
Date: Fri, 20 May 2016 08:10:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]