3 ms·
Octave is just great if you do a spot of computational maths for a living and need to smash stuff out quickly. It’s interactive, really well suited for matrix
by usgroup 8y ago
Octave is just great if you do a spot of computational maths for a living and need to smash stuff out quickly.
It’s interactive, really well suited for matrix operations, has all the packages you’d expect for analysis, optimisation, etc.
Like others have said, once you nail it in Octave, move it to C++ for production and then wrap it in R, Python, etc to your hearts content.
- 4thaccount 8y agoThe optimization functionality for linear programming, mixed integer linear programming...etc is pretty much non-existent in Octave. At least the kind of optimization common in Operations Research and used in production in thousands of companies world-wide. Python and Julia have libraries to call out to dedicated solvers like CPLEX, GUROBI, GLPK, and CBC/CLP that are written in C/C++. I'm not sure if Octave has a decent interface.
- deleted 8y ago[deleted]
- usgroup 8y agoHere’s the whole non existent category: https://octave.org/doc/v4.2.0/Optimization.html https://octave.org/doc/v4.2.0/Optimization.html
- 4thaccount 8y agoGood to see it has some support. Still pretty minimum in comparison to Julia's JuMP library though. I stand corrected.
- slavik81 8y agoOne thing I find handy is to format my debug printing for my vector and matrix types in Octave syntax. It makes it easier to debug my C++ code when I can copy/paste values directly into Octave for further analysis. e.g. vec3f x = {1,2,3}; fmt::print("x = {}\n", x); // output: // x = [1; 2; 3]