(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`.
(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.
(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`.
(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.
(array? x)
Returns true if x
is an Array.
Returns true if `x` is an Array.
(arrayND->vector array)
Converts an Array into a vector.
Converts an Array into a vector.
(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.
(double-array-copy dbl-array)
This function will create a copy of dbl-array
.
This function will create a copy of `dbl-array`.
(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`.
(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`.
(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`.
(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.
(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`.
(double-array-gen)
(double-array-gen count)
(double-array-gen min-count max-count)
(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.
(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.
(double-array-mean dbl-array)
The mean of the elements in dbl-array
.
The mean of the elements in `dbl-array`.
(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.
(double-array-norm1 dbl-array)
The sum of the absolute values of the elements.
The sum of the absolute values of the elements.
(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`.
(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.
(double-array-second-moment dbl-array)
The second moment of the elements in dbl-array
.
The second moment of the elements in `dbl-array`.
(double-array-set! dbl-array index dbl)
Sets dbl
at index
in dbl-array
.
Sets `dbl` at `index` in `dbl-array`.
(double-array-sort! dbl-array)
Sorts dbl-array
.
Sorts `dbl-array`.
(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.
(double-array-std-dev dbl-array)
The standard deviation of the elements in dbl-array
.
The standard deviation of the elements in `dbl-array`.
(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.
(double-array-sum dbl-array)
Sum of dbl-array
elements.
Sum of `dbl-array` elements.
(double-array-sum-of-squares dbl-array)
Sum of squares of dbl-array
elements.
Sum of squares of `dbl-array` elements.
(double-array-variance dbl-array)
The variance of the elements in dbl-array
.
The variance of the elements in `dbl-array`.
(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`.
(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.
(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.
(double-finite-array-gen)
(double-finite-array-gen count)
(double-finite-array-gen min-count max-count)
(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.
(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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close