|
|
|
|
|
by enriquto
1197 days ago
|
|
> Why use Octave instead of R, Python, or Julia? I use Octave daily, for many numerical tasks (and also python and julia). It has some advantages with respect to Python: 1. The sparse linear solvers in octave are considerably more performant than those available in a default scipy install. 2. No need to import external libraries written in other languages just to multiply two matrices. 3. Translating a formula from the blackboard to octave is really straightforward. This is often not the case for numpy. As for julia, the base language is even better than octave. However, it is not as useful for one-off scripts due to the slow startup time. You can use octave as a calculator for your shell scripts. For instance, one day I had to warp a collection of images by a collection of affine maps; the affine maps were the product of two matrices stored in individual files. Thus I wrote a three-line shell loop that called octave for each file and did the deed. The loop processed 200 files in five seconds (even without parallelism). In julia this would take a few minutes. |
|