techascent / tech.datatype

Efficient numerics for the jvm
Eclipse Public License 1.0
83 stars 8 forks source link
clojure n-dimensional numerics

tech.datatype

Clojars Project

tech.datatype is a Clojure library for efficient N-dimensional numerics across a range of primitive datatypes and a range of container types.

As examples of what you may do, here are some colorized tensors built from the US NOAA HRRR and GFS models.

Morning Temps Noon Temps
morning noon

A nice (slightly out of date) post explaining more is here.

Generalized efficient manipulations of sequences of primitive datatype. Includes specializations for java arrays, array views (subsection of an array) and nio buffers. There are specializations to allow implementations to provide efficient full typed copy functions when the types can be ascertained.

Generic operations include:

  1. datatype of this sequence
  2. Writing to, reading from
  3. Construction
  4. Efficient mutable copy into a container.
  5. Sparse buffer support
  6. n-dimensional tensor support
  7. Functional math support

Design documenation is here.

Useful Unit Tests To See

License

Copyright © 2019 TechAscent, LLC.

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.