octave-maintainers
[Top][All Lists]
Advanced

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

Re: PyTave and Symbolic


From: Abhinav Tripathi
Subject: Re: PyTave and Symbolic
Date: Sun, 22 May 2016 20:24:41 +0530

Thanks. I went through the bookmark and the wiki.
I didn't know how to pull and use bookmarks in mercurial. So, it took some time.
.
I'll start from your code then and add upon it some more functionalities (adding conversion of @sym objects, to be specific)... Or should I add the functionality to main PyTave branch? (in case this is for testing only)...
I still don't know about PRs in hg. So, I'll go through some more mercurial tutorials before adding the conversion of @sym objects...
.
Abhinav

On Fri, May 20, 2016 at 8:40 PM, Colin Macdonald <address@hidden> wrote:
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]