1 | initial version |
For completeness:
In general, you should be able to access variables from other programs using the methods in this question. Unfortunately, as vdelecroix points out, Octave's reverse interface is too rudimentary.
sage: O = octave([1,2,3])
sage: O._sage_()
Traceback (click to the left of this block for traceback)
...
NotImplementedError: Unable to parse output: 1 2 3
But maybe someone will write a better parser for various Octave objects... and this will work for very simple things like integers.
2 | No.2 Revision |
For completeness:
In general, you should be able to access variables from other programs using the methods in this question. Unfortunately, as vdelecroix points out, Octave's Sage's reverse interface to Octave is too rudimentary.
sage: O = octave([1,2,3])
sage: O._sage_()
Traceback (click to the left of this block for traceback)
...
NotImplementedError: Unable to parse output: 1 2 3
But maybe someone will write a better parser for various Octave objects... and this will work for very simple things like integers.