Liking cljdoc? Tell your friends :D

provisdom.math.arrays


array2Dclj

(array2D array-type-keyword coll2D)

Create a 2D Array. array-type-keyword can be: :double :long :boolean :char.

Create a 2D Array.
`array-type-keyword` can be:
   `:double`
   `:long`
   `:boolean`
   `:char`.
sourceraw docstring

array2D?clj

(array2D? x)

Returns true if x is an Array and each element is an Array.

Returns true if `x` is an Array and each element is an Array.
sourceraw docstring

array3Dclj

(array3D array-type-keyword coll3D)

Create a 3D Array. array-type-keyword can be: :double :long :boolean :char.

Create a 3D Array.
`array-type-keyword` can be:
   `:double`
   `:long`
   `:boolean`
   `:char`.
sourceraw docstring

array3D?clj

(array3D? x)

Returns true if x is an Array and each element is a 2D Array.

Returns true if `x` is an Array and each element is a 2D Array.
sourceraw docstring

array?clj

(array? x)

Returns true if x is an Array.

Returns true if `x` is an Array.
sourceraw docstring

arrayND->vectorclj

(arrayND->vector array)

Converts an Array into a vector.

Converts an Array into a vector.
sourceraw docstring

boolean-array-typeclj

source

char-array-typeclj

source

double-array-2D-typeclj

source

double-array-3D-typeclj

source

double-array-addclj

(double-array-add dbl-array)
(double-array-add dbl-array1 dbl-array2)
(double-array-add dbl-array1 dbl-array2 dbl-array3)
(double-array-add dbl-array1 dbl-array2 dbl-array3 & dbl-arrays)

Adding Double Arrays.

Adding Double Arrays.
sourceraw docstring

double-array-copyclj

(double-array-copy dbl-array)

This function will create a copy of dbl-array.

This function will create a copy of `dbl-array`.
sourceraw docstring

double-array-correlationclj

(double-array-correlation dbl-array1 dbl-array2)

The correlation between the elements of dbl-array1 and dbl-array2.

The correlation between the elements of `dbl-array1` and `dbl-array2`.
sourceraw docstring

double-array-covarianceclj

(double-array-covariance dbl-array1 dbl-array2)

The covariance between the elements of dbl-array1 and dbl-array2.

The covariance between the elements of `dbl-array1` and `dbl-array2`.
sourceraw docstring

double-array-cross-momentclj

(double-array-cross-moment dbl-array1 dbl-array2)

The cross moment between the elements of dbl-array1 and dbl-array2.

The cross moment between the elements of `dbl-array1` and `dbl-array2`.
sourceraw docstring

double-array-dot-productclj

(double-array-dot-product dbl-array1 dbl-array2)

The dot product is the sum of the products of the corresponding entries of two vectors. Geometrically, the dot product is the product of the Euclidean magnitudes of the two vectors and the cosine of the angle between them.

The dot product is the sum of the products of the corresponding entries of
two vectors. Geometrically, the dot product is the product of the Euclidean
magnitudes of the two vectors and the cosine of the angle between them.
sourceraw docstring

double-array-find-allclj

(double-array-find-all dbl-array dbl)

Returns a vector with all the indices where dbl is found in dbl-array.

Returns a vector with all the indices where `dbl` is found in `dbl-array`.
sourceraw docstring

double-array-genclj

(double-array-gen)
(double-array-gen count)
(double-array-gen min-count max-count)
source

double-array-mapclj

(double-array-map f dbl-array)
(double-array-map f dbl-array1 dbl-array2)
(double-array-map f dbl-array1 dbl-array2 dbl-array3)

Similar to [[map]] but for double arrays. First array must be the shortest.

Similar to [[map]] but for double arrays. First array must be the shortest.
sourceraw docstring

double-array-map-indexedclj

(double-array-map-indexed f dbl-array)
(double-array-map-indexed f dbl-array1 dbl-array2)
(double-array-map-indexed f dbl-array1 dbl-array2 dbl-array3)

Similar to [[map-indexed]] but for double arrays. First array must be the shortest.

Similar to [[map-indexed]] but for double arrays. First array must be the
shortest.
sourceraw docstring

double-array-meanclj

(double-array-mean dbl-array)

The mean of the elements in dbl-array.

The mean of the elements in `dbl-array`.
sourceraw docstring

double-array-normclj

(double-array-norm dbl-array)

The square-root of the sum of the squared values of the elements.

The square-root of the sum of the squared values of the elements.
sourceraw docstring

double-array-norm1clj

(double-array-norm1 dbl-array)

The sum of the absolute values of the elements.

The sum of the absolute values of the elements.
sourceraw docstring

double-array-norm2clj

See [[double-array-norm]].
sourceraw docstring

double-array-projectionclj

(double-array-projection dbl-array1 dbl-array2)

Returns Double Array of dbl-array1 projected onto dbl-array2.

Returns Double Array of `dbl-array1` projected onto `dbl-array2`.
sourceraw docstring

double-array-reduce-kvclj

(double-array-reduce-kv f init-dbl dbl-array)
(double-array-reduce-kv f init-dbl dbl-array1 dbl-array2)
(double-array-reduce-kv f init-dbl dbl-array1 dbl-array2 dbl-array3)

Similar to [[reduce-kv]] but for double arrays. First array must be the shortest. Calls f with the return value, index, and the value(s) at that index.

Similar to [[reduce-kv]] but for double arrays. First array must be the
shortest. Calls `f` with the return value, index, and the value(s) at that
index.
sourceraw docstring

double-array-second-momentclj

(double-array-second-moment dbl-array)

The second moment of the elements in dbl-array.

The second moment of the elements in `dbl-array`.
sourceraw docstring

double-array-set!clj

(double-array-set! dbl-array index dbl)

Sets dbl at index in dbl-array.

Sets `dbl` at `index` in `dbl-array`.
sourceraw docstring

double-array-sort!clj

(double-array-sort! dbl-array)

Sorts dbl-array.

Sorts `dbl-array`.
sourceraw docstring

double-array-sorted-findclj

(double-array-sorted-find dbl-array dbl)

Searches the specified array of doubles for the specified value using the binary search algorithm, and returns the index. If the specified value does not exist, then will return negative index of where value would fit in, starting at -1 at ending at negative (count + 1). The array must be sorted (as by the double-array-sort! function prior to making this call. If it is not sorted, the results are undefined. If the array contains multiple elements with the specified value, there is no guarantee which one will be found. This method considers all NaN values to be equivalent and equal.

Searches the specified array of doubles for the specified value using the
binary search algorithm, and returns the index. If the specified value does
not exist, then will return negative index of where value would fit in,
starting at -1 at ending at negative (count + 1). The array must be sorted (as
by the [[double-array-sort!]] function prior to making this call. If it is not
sorted, the results are undefined. If the array contains multiple elements
with the specified value, there is no guarantee which one will be found. This
method considers all NaN values to be equivalent and equal.
sourceraw docstring

double-array-std-devclj

(double-array-std-dev dbl-array)

The standard deviation of the elements in dbl-array.

The standard deviation of the elements in `dbl-array`.
sourceraw docstring

double-array-subtractclj

(double-array-subtract dbl-array)
(double-array-subtract dbl-array1 dbl-array2)
(double-array-subtract dbl-array1 dbl-array2 dbl-array3)
(double-array-subtract dbl-array1 dbl-array2 dbl-array3 & dbl-arrays)

Subtracting Double Arrays.

Subtracting Double Arrays.
sourceraw docstring

double-array-sumclj

(double-array-sum dbl-array)

Sum of dbl-array elements.

Sum of `dbl-array` elements.
sourceraw docstring

double-array-sum-of-squaresclj

(double-array-sum-of-squares dbl-array)

Sum of squares of dbl-array elements.

Sum of squares of `dbl-array` elements.
sourceraw docstring

double-array-typeclj

source

double-array-varianceclj

(double-array-variance dbl-array)

The variance of the elements in dbl-array.

The variance of the elements in `dbl-array`.
sourceraw docstring

double-array2D-copyclj

(double-array2D-copy dbl-array2D)

This function will create a copy of dbl-array-2D.

This function will create a copy of `dbl-array-2D`.
sourceraw docstring

double-array2D=clj

(double-array2D= dbl-array2D-1 dbl-array2D-2)
source

double-array2D?clj

(double-array2D? x)

Returns true if x is an Array and each element is a Double Array.

Returns true if `x` is an Array and each element is a Double Array.
sourceraw docstring

double-array=clj

(double-array= dbl-array1 dbl-array2)
source

double-array?clj

(double-array? x)

Returns true if x is an Array and each element is a double.

Returns true if `x` is an Array and each element is a double.
sourceraw docstring

double-finite-array-genclj

(double-finite-array-gen)
(double-finite-array-gen count)
(double-finite-array-gen min-count max-count)
source

double-finite-array?clj

(double-finite-array? x)

Returns true if 'x' is a Array and each element is a finite double.

Returns true if 'x' is a Array and each element is a finite double.
sourceraw docstring

keyword->array-typeclj

(keyword->array-type array-type-keyword)

Returns the Java type for array-type-keyword, which can be: :double :long :boolean :char.

Returns the Java type for `array-type-keyword`, which can be:
`:double`
`:long`
`:boolean`
`:char`.
sourceraw docstring

long-array-typeclj

source

mdlclj

source

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

× close