(arbitrary-slice m dim idx)Returns an arbitrary slice of provided NDArray along the given dimension and slice index (from 0 to the size of NDArray along this dimension)
Returns an arbitrary slice of provided NDArray along the given dimension and slice index (from 0 to the size of NDArray along this dimension)
(arbitrary-slice-double m dim idx)Returns an arbitrary slice of provided NDArray along the given dimension and slice index (from 0 to the size of NDArray along this dimension)
Returns an arbitrary slice of provided NDArray along the given dimension and slice index (from 0 to the size of NDArray along this dimension)
(c-strides shape)(determinant-double m)Finds a determinant of a given matrix
Finds a determinant of a given matrix
(empty-ndarray shape)Returns an empty NDArray of given shape
Returns an empty NDArray of given shape
(empty-ndarray-double shape)Returns an empty NDArray of given shape
Returns an empty NDArray of given shape
(empty-ndarray-zeroed shape)Returns an empty NDArray of given shape, guaranteed to be zeroed
Returns an empty NDArray of given shape, guaranteed to be zeroed
(empty-ndarray-zeroed-double shape)Returns an empty NDArray of given shape, guaranteed to be zeroed
Returns an empty NDArray of given shape, guaranteed to be zeroed
(invert-double m)Inverts given matrix. Returns new one
Inverts given matrix. Returns new one
(lu-decompose!-double m)LU-decomposition of a matrix into P A = L U. Saves L and U into
the input matrix as follows: L is a lower triangular part of it,
with diagonal omitted (they are all equal to 1); U is an upper
triangular part. P returned as a primitive int permutation array.
Returns a vector of two values: first is integer (-1)^n, where n is
a number of permutations, and second is a primitive int permutations
array.
This function is translated from GNU linear algebra library, namely
gsl_linalg_LU_decomp (see [[lu]] for example). Python translation that
was used to implement this can be found at [[lupy]].
LU-decomposition of a matrix into P A = L U. Saves L and U into the input matrix as follows: L is a lower triangular part of it, with diagonal omitted (they are all equal to 1); U is an upper triangular part. P returned as a primitive int permutation array. Returns a vector of two values: first is integer (-1)^n, where n is a number of permutations, and second is a primitive int permutations array. This function is translated from GNU linear algebra library, namely `gsl_linalg_LU_decomp` (see [[lu]] for example). Python translation that was used to implement this can be found at [[lupy]].
(lu-solve!-double lu permutations x)Solves a system of linear equations Ax = b using LU-decomposition. lu should be a decomposition of A in a form produced by lu-decompose!, permutations should be a primitive int vector of permutations (as from lu-decompose!), x should be a primitive vector of right hand sides. After an execution of this function x will be replaced with solution vector.
Solves a system of linear equations Ax = b using LU-decomposition. lu should be a decomposition of A in a form produced by lu-decompose!, permutations should be a primitive int vector of permutations (as from lu-decompose!), x should be a primitive vector of right hand sides. After an execution of this function x will be replaced with solution vector.
(ndarray data)Returns NDArray with given data, preserving shape of the data
Returns NDArray with given data, preserving shape of the data
(ndarray-double data)Returns NDArray with given data, preserving shape of the data
Returns NDArray with given data, preserving shape of the data
(reshape-restride m new-ndims new-shape new-strides new-offset)Returns a view of provided NDArray with different shape, strides and offset
Returns a view of provided NDArray with different shape, strides and offset
(reshape-restride-double m new-ndims new-shape new-strides new-offset)Returns a view of provided NDArray with different shape, strides and offset
Returns a view of provided NDArray with different shape, strides and offset
(row-major-seq m)Returns a sequence of row-major slices of given NDArray. Always returns NDArrays, even on 1d vector (0d NDArrays in this case)
Returns a sequence of row-major slices of given NDArray. Always returns NDArrays, even on 1d vector (0d NDArrays in this case)
(row-major-seq-double m)Returns a sequence of row-major slices of given NDArray. Always returns NDArrays, even on 1d vector (0d NDArrays in this case)
Returns a sequence of row-major slices of given NDArray. Always returns NDArrays, even on 1d vector (0d NDArrays in this case)
(row-major-seq-no0d m)Like row-major-seq but drops NDArray's wrapping on 0d-slices, so
(row-major-seq-no0d (ndarray [1 2 3])) will return sequence
1 2 3 instead of a sequence of 0d NDArrays
Like row-major-seq but drops NDArray's wrapping on 0d-slices, so `(row-major-seq-no0d (ndarray [1 2 3]))` will return sequence `1 2 3` instead of a sequence of 0d NDArrays
(row-major-seq-no0d-double m)Like row-major-seq but drops NDArray's wrapping on 0d-slices, so
(row-major-seq-no0d (ndarray [1 2 3])) will return sequence
1 2 3 instead of a sequence of 0d NDArrays
Like row-major-seq but drops NDArray's wrapping on 0d-slices, so `(row-major-seq-no0d (ndarray [1 2 3]))` will return sequence `1 2 3` instead of a sequence of 0d NDArrays
(row-major-slice m idx)Specialized constructor for slicing along major dimension (like rows for matrices)
Specialized constructor for slicing along major dimension (like rows for matrices)
(row-major-slice-double m idx)Specialized constructor for slicing along major dimension (like rows for matrices)
Specialized constructor for slicing along major dimension (like rows for matrices)
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |