News for hackers. Stuff that matters.
Re:GNU Octave 6.1.0 by 3dsynd on Monday November 30, 2020 @07:14AM (#25253000)
What value can Octave give me, relative to python?
Re:GNU Octave 6.1.0 by Zhyl on Monday November 30, 2020 @07:45AM (#25253195)
Compatibility with MATLAB syntax.

If you're in a Mathematical Research or Engineering context then you will likely have some models or systems that someone else has written in MATLAB.

If you're writing your own code and you have freedom over your environment then you should pick the best language for your use case.

Re:GNU Octave 6.1.0 by enriquto on Monday November 30, 2020 @11:23AM (#25255411)
> What value can Octave give me, relative to python?

For me the main thing is that math is "native", I don't need to import anything to start doing linear algebra. In python, doing math seems like an afterthought. For example, python offers you strings and dictionaries out of the box, but not ndarrays. In Octave, it is exactly the opposite, and it just feels right.

Re:GNU Octave 6.1.0 by chutsu on Monday November 30, 2020 @11:43AM (#25255715)
To me the biggest value octave gives me is its ease of use. When you are trying to learn a new mathematical concept and are manipulating matrices and vectors, Octave/ Matlab is a breeze. Compared to other languages that require you to call the `dot()` function.

Additionally compared to python's matplotlib, Octave / Matlab's plotting syntax is much simpler. Not faster but its functional.

In short, its a great educational tool, prototyping mathematical / engineering models. Bad for production use where you are using the code base to actually solve an engineering / science problem.

Re:GNU Octave 6.1.0 by buescher on Monday November 30, 2020 @08:22AM (#25253420)
A REPL-oriented IDE with integrated debugger and convenient matrix inspection/editing tools.

Relatively terse syntax for array/matrix operations.

Re:GNU Octave 6.1.0 by danmg on Monday November 30, 2020 @11:06AM (#25255180)
You have some crusty MATLAB code that does an analysis exactly the way you need it. It was either written by someone who is long gone, or you don't have the resources to rewrite it in 202x's new computational language.
Re:GNU Octave 6.1.0 by Stubb on Monday November 30, 2020 @07:54AM (#25253241)
A horror show mentally reconciling its one-based indexing with the zero-based indexing you're used to in Python.

The use of a zero is admittedly a relatively new concept, and it may not catch on.

Re:GNU Octave 6.1.0 by abdullahkhalids on Monday November 30, 2020 @08:41AM (#25253560)
Not only that. Octave/Matlab indexes end at the last point. x = 0:20, ends at 20, not 19.