657
edits
Line 91: | Line 91: | ||
The python object can be manipulated by python calls like {{Codeline|pycall}} and {{Codeline|pyexec}} without needing to do an explicit conversion. For example | The python object can be manipulated by python calls like {{Codeline|pycall}} and {{Codeline|pyexec}} without needing to do an explicit conversion. For example | ||
{{Code|Octave object that points to a python object|<syntaxhighlight lang="octave" style="font-size:13px" line> | {{Code|Octave object that points to a python object|<syntaxhighlight lang="octave" style="font-size:13px" line highlight="4"> | ||
pyexec ("import networkx as nx") | pyexec ("import networkx as nx") | ||
pyexec ("G=nx.complete_graph(10)") | pyexec ("G=nx.complete_graph(10)") |
edits