I have an oct2py that calls an Octave script from Python.
https://blink1073.github.io/oct2py/
pip install oct2py
It's pure python, so you can install it on Windows as it is.
Sample to call svd function etc. on Octave side
https://blink1073.github.io/oct2py/source/demo.html
Thank you.
OctaveMagic
In Jupyter notebook, you can interact with Octave as a magic command (?) Inline.
https://nbviewer.jupyter.org/github/blink1073/oct2py/blob/master/example/octavemagic_extension.ipynb?create=1
If you want to compare the results of numerical calculations in python and Octave,
https://docs.scipy.org/doc/numpy-1.17.0/reference/routines.testing.html
Is it better to use around numpy.testing
?
Recommended Posts