Datatype library primitives shared between clojurescript and clojure. The datatype system is an extensible system to provide understanding of and access to an undefined set of datatypes and containers that hold contiguous sections of those datatypes.
Datatype library primitives shared between clojurescript and clojure. The datatype system is an extensible system to provide understanding of and access to an undefined set of datatypes and containers that hold contiguous sections of those datatypes.
(add-container-conversion-fn src-container-type dst-container-type convert-fn)
(add-copy-operation src-container-type
dst-container-type
src-dtype
dst-dtype
unchecked?
copy-fn)
Add a new copy operation. Note that this is a single point in a 5 dimensional space of operations.
Add a new copy operation. Note that this is a single point in a 5 dimensional space of operations.
(copy! src dest)
(copy! src src-offset dst dst-offset elem-count)
(copy! src src-offset dest dest-offset elem-count options)
copy elem-count src items to dest items. Options may contain unchecked in which you get unchecked operations.
copy elem-count src items to dest items. Options may contain unchecked in which you get unchecked operations.
(generic-copy! item item-offset dest dest-offset elem-count options)
Copy using PAccess protocol. Extremely slow for large buffers.
Copy using PAccess protocol. Extremely slow for large buffers.
(get-value item offset)
(set-constant! item offset value elem-count)
(set-value! item offset value)
Given a sequence of data copy it as fast as possible into a target item.
Given a sequence of data copy it as fast as possible into a target item.
(copy-raw->item! raw-data ary-target target-offset options)
Conversion to a persistent vector of numbers.
Conversion to a persistent vector of numbers.
(->vector item)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close