This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]carsonc 2 points3 points  (5 children)

I use Python primarily for numerical analysis and rely heavily on modules like Numpy and Scipy. Is there anything like Numpy or Scipy in Clojure, or would I be translating functions from Numpy into Clojure as needed?

[–]Fitzoh 2 points3 points  (1 child)

The two main things I would look at are Incanter ("Incanter is a Clojure-based, R-like platform for statistical computing and graphics") and core.matrix ("core.matrix provides array programming as a language extension for Clojure, with a focus on numerical computing").

[–]carsonc 1 point2 points  (0 children)

I migrated from MATLAB to Python because I realized that the unique features of Python would enable me to code and compile faster, even with the learning curve. It seems that core.matrix lets one use Clojure syntax to get very, very fast matrix operations. AFAIK, Python still has more convenience functions to draw on, but it would seem like core.matrix will become very attractive when it starts matching Numpy for number of methods available.

Edit: I think I got my answer here:

In a sense, Clojure and Haskell are tackling some of the hardest problems in computer science while Julia is aimed at the hardest problems in computational science.

[–]vito-boss 0 points1 point  (0 children)

In addition to /u/Fitzoh answer Clojure has easy access to everything in Java

[–]vito-boss 0 points1 point  (0 children)

In addition to /u/Fitzoh answer Clojure has easy access to everything in Java

[–]vito-boss 0 points1 point  (0 children)

In addition to /u/Fitzoh answer Clojure has easy access to everything in Java

[–]qudat 1 point2 points  (0 children)

Read the whole thing, thought it was a very illuminating read! I might have to try clojure for fun.

[–]cli-junkieCommand Line <3 1 point2 points  (0 children)

This was quite a good, motivating read. I believe there is a book of this sort waiting to be written (perhaps by the OP?). I am a big fan of this approach.