Programming languages with fast matrix operations (15)

1 Name: #!/usr/bin/anonymous : 2011-03-19 21:56 ID:hBekoLl7 This thread was merged from the former /code/ board. You can view the archive here.

Sup. Can you guys show me a list of PL's that have fast/easy matrix operations. I am thinking of languages like Matlab where you can play with matrices, multiply, do eigen analysis, etc. without having to do loops and so on. I am working with mostly 3D data right now, so the ability to view 3D images would be nice too. Also nice would be if it came with libraries that have geometry stuff like triangulation, convex hull, and so on.

2 Name: #!/usr/bin/anonymous : 2011-03-20 12:11 ID:HzL6wCj+

haskell or ruby

3 Name: #!/usr/bin/anonymous : 2011-03-20 15:50 ID:hBekoLl7

... anonymous >>2 is a fail.

I think I am going to go for C++ with VTK. Even though C++ is ugly as hell. I wish there was a VTK interface to OCaml.

4 Name: #!/usr/bin/anonymous : 2011-09-08 04:09 ID:vE43afge

>>1

If you just want to do statistical processing, I recommend R.
R is a Programming language for statistic analysis and has a 3d graph viewer too.

And if you want to make 3d games or something, maybe you can use openframeworks with Opengl.
Openframeworks Is a c++ based library asset which is made for media artist or student.
You can extend it by addon library, and there is ofxvetex for matrix calculation.

5 Name: #!/usr/bin/anonymous : 2011-09-13 10:33 ID:vs2F3iLi

APL, J

6 Name: #!/usr/bin/anonymous : 2011-09-24 19:54 ID:trzXDjoh

>>4
I am doing research in 3D vision. I actually do use R for the simple statistics stuff that I do. It's quite useful in that regard but I don't think I can write larger programs using it. It's too messy. For the 3D stuff, right now I am using C++ with VTK and sometimes OpenCV. And trying to use Ocaml whenever possible. Though from the looks of it, I am just going to end up with Matlab due to the amount of relevant code that I can use.

Openframeworks seems interesting, I'll look into it, thanks.

>>5
The concepts used in J is pretty amazing but no way will I be able to use it and be sane.

7 Name: #!/usr/bin/anonymous : 2012-06-19 14:13 ID:rnZVfANB

How about Fortran? :-รพ

8 Name: #!/usr/bin/anonymous : 2012-07-10 20:33 ID:qZ0VOJgt

>>7
Hell yeah.

9 Name: #!/usr/bin/anonymous : 2012-08-29 19:31 ID:M+zF+icO

With C++ you can try the Eigen library, it seems pretty good.

10 Name: #!/usr/bin/anonymous : 2012-08-31 13:04 ID:tr5ggSOD

11 Name: #!/usr/bin/anonymous : 2012-09-14 05:14 ID:YTZ7lFrC

u w0t m8

12 Name: #!/usr/bin/anonymous : 2012-09-14 05:15 ID:YTZ7lFrC

If you buy MATLAB, you can call MATLAB functions...I don't know how.

13 Name: #!/usr/bin/anonymous : 2012-09-29 05:40 ID:Heaven

A crusty old neckbearded Unix hacker I knew a few years back had very fond memories of programming in APL as a university student. I wish I could have told him about J at the time, as he wasn't even aware that anyone had made an open source APL interpreter.

14 Name: #!/usr/bin/anonymous : 2012-11-14 22:54 ID:POkW8UHb

Pure looks nice, what do you guys think? It's a functional language, so that's nice, and has matrix support. It interfaces with lots of things including OpenCV and Octave (an open source attempt at Matlab).

15 Name: #!/usr/bin/anonymous : 2013-01-04 04:19 ID:Heaven

As a general policy, the more niche a language is, the more problems you'll have using it -- more compiler bugs, fewer libraries, less documentation, fewer debug and profiling tools, and so forth. As such, Pure isn't in the running yet.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: