clojure.math.internal.cmath3 documentation

Internal interface to Commons Math3 library functions and types.

from-vector

(from-vector v)
Converts a Common-Math's Euclidean vector to Clojure vector.

make-vector

(make-vector x y)(make-vector x y z)
Creates an Commons-Math's Euclidean vector (2D or 3D).

to-vector

(to-vector coll)
Converts a sequence to a Common Math's Euclidean vector (2D or 3D).