dtype-next
dtype-next copied to clipboard
A Clojure library designed to aid in the implementation of high performance algorithms and systems.
As of clojure 1.11.0 there are built-in functions for abs, infinite? random--uid, parse-uuid in clojure.core. This means that we're doing an (seemingly) unnecessary replacement of builtins! Can we bump clojure...
I am trying to pass a Clojure function as a callback in C, but I cannot figure out how to do this with GraalVM. I tried passing a class name...
Operations that require creating a nio buffer of FFI support under JDK-17 will fail unless particular flags are provided which then add classes to the classpath. We can indicate the...
The ellipsis printing of tensors is great, and makes repl programming with `dtype-next` a lot of fun. In the last week I had an idea for some possible improvements. Right...
`tech.v3.datatype.functional` unexpectedly throws a `ClassCastException` when comparing certain numeric types (e.g. doubles and longs, as in `(tech.v3.datatype.functional/> 3.0 2)`) instead of performing the comparison as expected. Most users would typically...
https://github.com/cnuernber/dtype-next/blob/ce52aabc4777a085fd389b50490344972c430cb9/src/tech/v3/datatype/pprint.clj#L7 This line leads to this unexpected (to Carsten and I) result: ```clojure user> (tech.v3.datatype.pprint/format-object (Double. 1.0)) "1.000" user> (tech.v3.datatype.pprint/format-object (Double. 11.0)) "11.00" user> (tech.v3.datatype.pprint/format-object (Double. 111.0)) "111.0" user> (tech.v3.datatype.pprint/format-object...
It would be helpful to sort the list of types for readability: ```clj (tech.v3.datatype.casting/all-datatypes) ;; => (:int32 :int16 :float32 :float64 :int64 :uint64 :string :uint16 :int8 :uint32 :keyword :decimal :uuid :boolean...
Doc typo
Just highlighting a typo in the docs: _This can be used to **crap** an image or to do reorderings such as imagespace bga->rgb conversions._ EDIT: https://cnuernber.github.io/dtype-next/cheatsheet.html Sorry, I definitely 'copied'...
see here: https://clojurians.zulipchat.com/#narrow/stream/236259-tech.2Eml.2Edataset.2Edev/topic/convert.20neanderthal.20matrix.20to.20dataset.20.3F
After fixing #99 some regression was introduced in tablecloth regarding comparison of any type. Till the last version, the following code was working. `` could be treated as an universal...