dtype-next Buffered Image Support
+ gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.121
dtype-next Buffered Image Support
dtype-next
contains support for loading/saving buffered images
and creating tensors from buffered images.
Usage
diff --git a/docs/cheatsheet.html b/docs/cheatsheet.html index bfbc5272..f7951de9 100644 --- a/docs/cheatsheet.html +++ b/docs/cheatsheet.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.120
dtype-next Cheatsheet
+ gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.121
dtype-next Cheatsheet
The old cheatsheet has been moved to overview.
Most of these functions are accessible via the [tech.v3.datatype :as dtype]
namespace. When another namespace is required, it is specified separately.
Generated by Codox with RDash UI theme
DType Next 10.120
Why dtype-next?
+ gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.121
Why dtype-next?
tech.datatype
tech.datatype as a numerics stack fulfills our technical needs at TechAscent in regards to scientific computing, data science, and machine learning. It enables a completely diff --git a/docs/dimensions-bytecode-gen.html b/docs/dimensions-bytecode-gen.html index 488c9a31..c49619bd 100644 --- a/docs/dimensions-bytecode-gen.html +++ b/docs/dimensions-bytecode-gen.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.120
dtype-next Tensor Dimensions and Bytecode Generation
+ gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.121
dtype-next Tensor Dimensions and Bytecode Generation
dtype-next uses a dimensions operator in order to transform nd
space to a linear
address space. We no longer compile in bytecode address operator generation by
default as it takes a bit longer to load and most users won't see any benefit as
diff --git a/docs/index.html b/docs/index.html
index 2b290264..55b9322e 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1,10 +1,10 @@
-
Generated by Codox with RDash UI theme
DType Next 10.120
DType Next 10.120
High Performance Clojure Primitives.
Topics
- dtype-next Buffered Image Support
- dtype-next Cheatsheet
- Why dtype-next?
- dtype-next Tensor Dimensions and Bytecode Generation
- dtype-next Overview
Namespaces
tech.v3.datatype
Base namespace for container creation and elementwise access of data
+ gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.121
DType Next 10.121
High Performance Clojure Primitives.
Topics
- dtype-next Buffered Image Support
- dtype-next Cheatsheet
- Why dtype-next?
- dtype-next Tensor Dimensions and Bytecode Generation
- dtype-next Overview
Namespaces
tech.v3.datatype
Base namespace for container creation and elementwise access of data
Public variables and functions:
- ->array
- ->array-buffer
- ->buffer
- ->byte-array
- ->char-array
- ->double-array
- ->float-array
- ->int-array
- ->iterable
- ->long-array
- ->native-buffer
- ->reader
- ->short-array
- ->vector
- ->writer
- alloc-uninitialized
- alloc-zeros
- arg-type
- as-array-buffer
- as-array-buffer-data
- as-buffer
- as-concrete-buffer
- as-native-buffer
- as-native-buffer-data
- as-nd-buffer-descriptor
- as-reader
- as-roaring-bitmap
- as-writer
- cast
- clone
- clone-native
- coalesce!
- coalesce-blocks!
- concat-buffers
- const-reader
- copy!
- copy-raw->item!
- datatype
- ecount
- elemwise-cast
- elemwise-datatype
- emap
- ensure-native
- ensure-reader
- ensure-serializeable
- export-symbols
- get-datatype
- get-value
- indexed-buffer
- iterable?
- make-container
- make-list
- make-reader
- make-reader-fn
- malloc
- prealloc-list
- reader-like?
- reader?
- reverse
- set-constant!
- set-datatype
- set-native-datatype
- set-value!
- shape
- sub-buffer
- unchecked-cast
- vectorized-dispatch-1
- vectorized-dispatch-2
- writer?
tech.v3.datatype.argops
Efficient functions for operating in index space. Take-off of the argsort, argmin, etc. type functions from Matlab. These functions generally only work on readers and all return some version of an index or list of indexes.
diff --git a/docs/overview.html b/docs/overview.html index 9d2bb27f..a8a44da6 100644 --- a/docs/overview.html +++ b/docs/overview.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.120
dtype-next Overview
+ gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.121
dtype-next Overview
Setup
(require '[tech.v3.datatype :as dtype])
diff --git a/docs/tech.v3.datatype.argops.html b/docs/tech.v3.datatype.argops.html
index 3ed96edf..d8371700 100644
--- a/docs/tech.v3.datatype.argops.html
+++ b/docs/tech.v3.datatype.argops.html
@@ -4,7 +4,7 @@
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
- gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.argops
Efficient functions for operating in index space. Take-off of the argsort, argmin, etc. + gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.argops
Efficient functions for operating in index space. Take-off of the argsort, argmin, etc. type functions from Matlab. These functions generally only work on readers and all return some version of an index or list of indexes.
->binary-operator
(->binary-operator op)
Convert a thing to a binary operator. Thing can be a keyword or diff --git a/docs/tech.v3.datatype.bitmap.html b/docs/tech.v3.datatype.bitmap.html index d1258ca1..3088d455 100644 --- a/docs/tech.v3.datatype.bitmap.html +++ b/docs/tech.v3.datatype.bitmap.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.bitmap
Functions for working with RoaringBitmaps. These are integrated deeply into + gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.bitmap
Functions for working with RoaringBitmaps. These are integrated deeply into several tech.v3.datatype algorithms and have many potential applications in high performance computing applications as they are both extremely fast and storage-space efficient.
diff --git a/docs/tech.v3.datatype.convolve.html b/docs/tech.v3.datatype.convolve.html index 99b744ab..46993297 100644 --- a/docs/tech.v3.datatype.convolve.html +++ b/docs/tech.v3.datatype.convolve.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.convolve
Namespace for implementing various basic convolutions. Currently only 1d + gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.convolve
Namespace for implementing various basic convolutions. Currently only 1d convolutions are supported.
convolve1d
(convolve1d data win options)
(convolve1d data win)
Convolve a window across a signal. The only difference from correlate is the window is reversed and then correlate is called. See options for correlate, this diff --git a/docs/tech.v3.datatype.datetime.html b/docs/tech.v3.datatype.datetime.html index 7314ae96..5a2dd84b 100644 --- a/docs/tech.v3.datatype.datetime.html +++ b/docs/tech.v3.datatype.datetime.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.datetime
Thorough bindings to java.time.datetime. Includes packed datatypes and + gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.datetime
Thorough bindings to java.time.datetime. Includes packed datatypes and lifting various datetime datatypes into the datatype system.
A general outline is:
-
diff --git a/docs/tech.v3.datatype.errors.html b/docs/tech.v3.datatype.errors.html
index a50b2958..24bfd79c 100644
--- a/docs/tech.v3.datatype.errors.html
+++ b/docs/tech.v3.datatype.errors.html
@@ -4,7 +4,7 @@
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
- gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.errors
Generic, basic error handling. No dependencies aside from apache commons math + gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.errors
Generic, basic error handling. No dependencies aside from apache commons math for NAN exception.
check-idx
macro
(check-idx idx n-elems)
Check that an index is less than n-elems. Throw an index-out-of-bounds exception if that isn't the case.
diff --git a/docs/tech.v3.datatype.ffi.clang.html b/docs/tech.v3.datatype.ffi.clang.html index 457842d4..f75f6169 100644 --- a/docs/tech.v3.datatype.ffi.clang.html +++ b/docs/tech.v3.datatype.ffi.clang.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.ffi.clang
General utilites to work with clang in order to define things like structs or + gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.ffi.clang
General utilites to work with clang in order to define things like structs or enumerations.
defstruct-from-layout
(defstruct-from-layout struct-dtype layout {:keys [failed-line-parser]})
(defstruct-from-layout struct-dtype layout)
Function to take a partial clang record dump and make a struct defintion. In order to generate a file containing dumps we do something like:
diff --git a/docs/tech.v3.datatype.ffi.graalvm.html b/docs/tech.v3.datatype.ffi.graalvm.html index aabf4497..abfb9645 100644 --- a/docs/tech.v3.datatype.ffi.graalvm.html +++ b/docs/tech.v3.datatype.ffi.graalvm.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.ffi.graalvm
Graalvm-specific namespace that implements the dtype-next ffi system and allows users + gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.ffi.graalvm
Graalvm-specific namespace that implements the dtype-next ffi system and allows users to build stand-alone shared libraries that other languages can use to call Clojure code via a binary C interface.
define-library
(define-library fn-defs symbols {:keys [classname instantiate?], :as options})
Define a graal-native set functions bound to a particular native library. See the diff --git a/docs/tech.v3.datatype.ffi.html b/docs/tech.v3.datatype.ffi.html index 17faea06..b6f2c06b 100644 --- a/docs/tech.v3.datatype.ffi.html +++ b/docs/tech.v3.datatype.ffi.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.ffi
Generalized C Foreign Function Interface (FFI) that unifies JNA and JDK-16 FFI architectures.
+ gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.ffi
Generalized C Foreign Function Interface (FFI) that unifies JNA and JDK-16 FFI architectures.
Users can dynamically define and load libraries and define callbacks that C can then call.
This namespace is meant to work with the struct
namespace where you can define
diff --git a/docs/tech.v3.datatype.ffi.size-t.html b/docs/tech.v3.datatype.ffi.size-t.html
index 6af21779..271cc7a4 100644
--- a/docs/tech.v3.datatype.ffi.size-t.html
+++ b/docs/tech.v3.datatype.ffi.size-t.html
@@ -4,7 +4,7 @@
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
- gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.ffi.size-t
offset-t-type
(offset-t-type)
the offset-t datatype - either :int32
or :int64
.
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.ffi.size-t
Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.functional
Arithmetic and statistical operations based on the Buffer interface. These + gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.functional
Arithmetic and statistical operations based on the Buffer interface. These operators and functions all implement vectorized interfaces so passing in something convertible to a reader will return a reader. Arithmetic operations are done lazily. These functions generally incur a large dispatch cost so for example each call to '+' diff --git a/docs/tech.v3.datatype.gradient.html b/docs/tech.v3.datatype.gradient.html index b20cde61..d7b062eb 100644 --- a/docs/tech.v3.datatype.gradient.html +++ b/docs/tech.v3.datatype.gradient.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.gradient
Calculate the numeric gradient of successive elements. + gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.gradient
Calculate the numeric gradient of successive elements. Contains simplified versions of numpy.gradient and numpy.diff.
diff1d
(diff1d data & [options])
Returns a lazy reader of each successive element minus the previous element of length
input-len - 1 unless the :prepend
option is used.
Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype
Base namespace for container creation and elementwise access of data
+ gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype
Base namespace for container creation and elementwise access of data
->array
(->array datatype options item)
(->array datatype item)
(->array item)
Perform a NaN-aware conversion into an array. Default nan-strategy is :keep. Nan strategies can be: :keep :remove :exception
diff --git a/docs/tech.v3.datatype.list.html b/docs/tech.v3.datatype.list.html index 636be895..0c16e7e9 100644 --- a/docs/tech.v3.datatype.list.html +++ b/docs/tech.v3.datatype.list.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.list
empty-list
(empty-list datatype)
Make an empty list of a given datatype.
+ gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.list
make-list
(make-list initial-container ptr)
(make-list datatype)
Make a new primitive list out of a container and a ptr that indicates the current write position.
wrap-container
(wrap-container container)
In-place wrap an existing container. Write ptr points to the end diff --git a/docs/tech.v3.datatype.mmap-writer.html b/docs/tech.v3.datatype.mmap-writer.html index cac17338..04d8839b 100644 --- a/docs/tech.v3.datatype.mmap-writer.html +++ b/docs/tech.v3.datatype.mmap-writer.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.mmap-writer
Provides the ability to efficiently write binary data to a file with an + gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.mmap-writer
Provides the ability to efficiently write binary data to a file with an automatic conversion to a native-buffer using mmap.
Endianness can be provided and strings are automatically saved as UTF-8.
mmap-writer
(mmap-writer fpath {:keys [endianness resource-type mmap-file-options open-options file-channel delete-on-close?], :or {resource-type :auto, endianness (dtype-proto/platform-endianness), open-options :append}, :as _options})
(mmap-writer fpath)
Create a new data writer that has a conversion to a mmaped native buffer upon diff --git a/docs/tech.v3.datatype.mmap.html b/docs/tech.v3.datatype.mmap.html index 877ed1ae..0934c953 100644 --- a/docs/tech.v3.datatype.mmap.html +++ b/docs/tech.v3.datatype.mmap.html @@ -4,7 +4,7 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.mmap
mmap-file
(mmap-file fpath options)
(mmap-file fpath)
Memory map a file returning a native buffer. fpath must resolve to a valid + gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.mmap
mmap-file
(mmap-file fpath options)
(mmap-file fpath)
Memory map a file returning a native buffer. fpath must resolve to a valid java.io.File. Options
-
diff --git a/docs/tech.v3.datatype.native-buffer.html b/docs/tech.v3.datatype.native-buffer.html
index aec14ad3..c0b2530e 100644
--- a/docs/tech.v3.datatype.native-buffer.html
+++ b/docs/tech.v3.datatype.native-buffer.html
@@ -4,7 +4,7 @@
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
- gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.native-buffer
Support for malloc/free and generalized support for reading/writing typed data + gtag('config', 'G-95TVFC1FEB');
Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.native-buffer
Support for malloc/free and generalized support for reading/writing typed data to a long integer address of memory.
alloc-uninitialized
(alloc-uninitialized dtype ec)
(alloc-uninitialized dtype ec options)
Allocate an uninitialized buffer. See options for malloc.
alloc-zeros
(alloc-zeros dtype ec)
(alloc-zeros dtype ec options)
Allocate a buffer of zeros. See options for malloc.
diff --git a/docs/tech.v3.datatype.nippy.html b/docs/tech.v3.datatype.nippy.html index 83103543..faaf2c5e 100644 --- a/docs/tech.v3.datatype.nippy.html +++ b/docs/tech.v3.datatype.nippy.html @@ -4,5 +4,5 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.120
tech.v3.datatype.nippy
Nippy bindings for datatype base types and tensor types
+ gtag('config', 'G-95TVFC1FEB');Generated by Codox with RDash UI theme
DType Next 10.121
tech.v3.datatype.nippy
Nippy bindings for datatype base types and tensor types