Liking cljdoc? Tell your friends :D

mikera.vectorz.matrix-api

Namespace for vectorz-clj core.matrix implementation. Loading this namespace either directly or indirectly is required to enable the :vectorz implementation for core.matrix.

Namespace for vectorz-clj core.matrix implementation. Loading this namespace either 
directly or indirectly is required to enable the :vectorz implementation for core.matrix.
raw docstring

amatrix-coercecljmacro

(amatrix-coerce x)
(amatrix-coerce m x)

Coerces an argument x to an AMatrix instance

Coerces an argument x to an AMatrix instance
raw docstring

amatrix-coerce*clj

(amatrix-coerce* m)
(amatrix-coerce* target m)

Coerces any numerical array to an AMatrix instance. May broadcast to the shape of an optional target if necessary. Does not guarantee a new copy - may return same data.

Coerces any numerical array to an AMatrix instance.
May broadcast to the shape of an optional target if necessary.
Does *not* guarantee a new copy - may return same data.
raw docstring

avector-coercecljmacro

(avector-coerce x)
(avector-coerce m x)

Coerces an argument x to an AVector instance, of the same size as m

Coerces an argument x to an AVector instance, of the same size as m
raw docstring

avector-coerce*clj

(avector-coerce* m)
(avector-coerce* target m)

Coerces any numerical array to an AVector instance. May broadcast to the shape of an optional target if necessary. Does not guarantee a new copy - may return same data.

Coerces any numerical array to an AVector instance.
May broadcast to the shape of an optional target if necessary.
Does *not* guarantee a new copy - may return same data.
raw docstring

double-coercecljmacro

(double-coerce x)

Macro to coerce to a primitive double value. Works on numbers and 0d arrays.

Macro to coerce to a primitive double value. Works on numbers and 0d arrays.
raw docstring

INT-ARRAY-CLASSclj


int-array-coercecljmacro

(int-array-coerce m)

Coerces an arbitrary object to an int array

Coerces an arbitrary object to an int array
raw docstring

math-op-mappingclj


tag-symbolcljmacro

(tag-symbol tag form)

vectorz-clonecljmacro

(vectorz-clone x)

Coerces the argument to a new (cloned) vectorz INDArray

Coerces the argument to a new (cloned) vectorz INDArray
raw docstring

vectorz-coercecljmacro

(vectorz-coerce x)
(vectorz-coerce target x)

Coerces the argument to a vectorz INDArray. Broadcasts to the shape of an optional target if provided.

Coerces the argument to a vectorz INDArray. Broadcasts to the shape of an optional target if provided.
raw docstring

vectorz-coerce*clj

(vectorz-coerce* p)

Function to attempt conversion to a Vectorz INDArray object. Should work on any core.matrix numerical array or scalar. Does not guarantee a new copy - may return same data.

Function to attempt conversion to a Vectorz INDArray object. Should work on any core.matrix
numerical array or scalar. Does *not* guarantee a new copy - may return same data.
raw docstring

vectorz-scaleclj

(vectorz-scale m a)

Scales a vectorz array, return a new scaled array

Scales a vectorz array, return a new scaled array
raw docstring

vectorz-type?clj

(vectorz-type? tag)

vectorz?cljmacro

(vectorz? a)

Returns true if v is a vectorz class (i.e. an instance of mikera.arrayz.INDArray)

Returns true if v is a vectorz class (i.e. an instance of mikera.arrayz.INDArray)
raw docstring

with-broadcast-clonecljmacro

(with-broadcast-clone [a b] & body)

Executes body with a broadcasted clone of a and a broadcasted INDArray version of b. Returns the broadcasted clone of a.

Executes body with a broadcasted clone of a and a broadcasted INDArray version of b. 
Returns the broadcasted clone of a.
raw docstring

with-broadcast-coercecljmacro

(with-broadcast-coerce [a b] & body)

Executes body with a and a coerced INDArray version of b. Returns result of body.

Executes body with a and a coerced INDArray version of b. Returns result of body.
raw docstring

with-clonecljmacro

(with-clone [sym exp] & body)

Executes the body with a cloned version of the specfied symbol/expression binding. Returns the cloned object.

Executes the body with a cloned version of the specfied symbol/expression binding. Returns the cloned object.
raw docstring

with-indexescljmacro

(with-indexes [syms ixs] & body)

Executes body after binding int indexes from the given indexing object

Executes body after binding int indexes from the given indexing object
raw docstring

with-keyscljmacro

(with-keys available required)

with-vectorz-clonecljmacro

(with-vectorz-clone [sym exp] & body)

Executes the body with a cloned version of the specfied symbol/expression binding. Returns the cloned object.

Executes the body with a cloned version of the specfied symbol/expression binding. Returns the cloned object.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close