Reputation: 41552
Can anyone name a language with all the following properties:
Upvotes: 6
Views: 232
Reputation: 44824
I have my own favorite pet languages, and this isn't one of them, but it sounds to me like R is probably what you are looking for. It seems to be the hot new language these days for people doing heavy math.
As for the "faster than Python" part, that's tough to say. In general, languages don't really have a speed; language implementations do. So the only way to tell really is to compare your time-constraining algorithm on each implementation you can get.
Upvotes: 1
Reputation: 129135
According to Wikipedia it has algebraic datatypes. And it is fast. Scala is both functional and object oriented. And it's a young language with a growing userbase but still to some extent compatible with Java.
There is a Scala library Scalala for linear algebra:
A high performance numeric linear algebra library for Scala, with rich Matlab-like operators on vectors and matrices; a library of numerical routines
Upvotes: 1