Liking cljdoc? Tell your friends :D

clojure.core.matrix.impl.ndarray-magic


add-fn-suffixclj

(add-fn-suffix type sym)

Takes a type and symbol that is a name of the function and adds a suffix to it

Takes a type and symbol that is a name of the function and adds a suffix
to it
raw docstring

defns-magicclj


deftypes-magicclj


extend-typescljmacro

(extend-types types & forms)

Collects forms of methods that will be attached to deftype

Collects forms of methods that will be attached to deftype
raw docstring

form-replacesclj

(form-replaces extra-parts type)

Takes specialization map and returns a map with symbols with hashes as keys

Takes specialization map and returns a map with symbols with hashes as
keys
raw docstring

handle-defn-formclj

(handle-defn-form t replaces [_ fn-name & _ :as form])

Special treating for defn -- we need to define specialized versions of provided function with different names

Special treating for defn -- we need to define specialized versions of
provided function with different names
raw docstring

handle-formsclj

(handle-forms type replaces form)

Specializing forms recursively

Specializing forms recursively
raw docstring

handle-symbolclj

(handle-symbol type replaces sym)

Takes a symbol and possibly replace it, saving meta and making all substitutions to it

Takes a symbol and possibly replace it, saving meta and making all
substitutions to it
raw docstring

initclj

(init types)

Initializes specialization map (see ndarray namespace for details)

Initializes specialization map (see `ndarray` namespace for details)
raw docstring

special-macro?clj

(special-macro? macro)

This predicate returns true if provided symbol is a name of 'special' macro that should be expanded during the specialization. This is needed because usually macroexpansion is done from the outside, so if 'magic' variables are used in macros that occur in specialized code, they will need to be explicitly expanded before specialization. Therefore all such macros should be listed here

This predicate returns true if provided symbol is a name of 'special'
macro that should be expanded during the specialization. This is needed
because usually macroexpansion is done from the outside, so if 'magic'
variables are used in macros that occur in specialized code, they will
need to be explicitly expanded before specialization. Therefore all such
macros should be listed here
raw docstring

specializecljmacro

(specialize type & body)

Allows use of the 'magic' machinery from outside of ndarray namespace. This is useful for loop-over. An example can be found in test-ndarray-implementation namespace

Allows use of the 'magic' machinery from outside of `ndarray` namespace. This
is useful for `loop-over`. An example can be found in
`test-ndarray-implementation` namespace
raw docstring

spit-codecljmacro

(spit-code)

Emits specialized versions of collected forms

Emits specialized versions of collected forms
raw docstring

type-table-magicclj


with-magiccljmacro

(with-magic types form)
(with-magic types extra-parts form)

Macro for collecting forms for specialization. See ndarray namespace for details

Macro for collecting forms for specialization. See `ndarray` namespace for
details
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close