core.matrix is the Clojure API for numerical computing.

core.matrix provides a full range of array programming functionality using N-dimensional arrays. This includes matrix computation, vector maths, higher dimensional tensors, statistical functions and more.

Rather than forcing you to use a specific matrix library, core.matrix works by providing a flexible API that supports multiple back-end implementations that can be freely switched based on performance and other requirements. Currently available implementations include:

Other implementations in the works include ClojureScript support, ND4J interop, GPU computing.


API documentation

core.matrix wiki


core.matrix is supported by Datacraft, a Singapore-based data science consultancy