Liking cljdoc? Tell your friends :D

clojure.core.matrix.impl.ndarray


arbitrary-sliceclj

(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)
raw docstring

arbitrary-slice-doubleclj

(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)
raw docstring

c-stridesclj

(c-strides shape)

determinant-doubleclj

(determinant-double m)

Finds a determinant of a given matrix

Finds a determinant of a given matrix
raw docstring

empty-ndarrayclj

(empty-ndarray shape)

Returns an empty NDArray of given shape

Returns an empty NDArray of given shape
raw docstring

empty-ndarray-doubleclj

(empty-ndarray-double shape)

Returns an empty NDArray of given shape

Returns an empty NDArray of given shape
raw docstring

empty-ndarray-zeroedclj

(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
raw docstring

empty-ndarray-zeroed-doubleclj

(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
raw docstring

invert-doubleclj

(invert-double m)

Inverts given matrix. Returns new one

Inverts given matrix. Returns new one
raw docstring

lu-decompose!-doubleclj

(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]].
raw docstring

lu-solve!-doubleclj

(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.
raw docstring

ndarrayclj

(ndarray data)

Returns NDArray with given data, preserving shape of the data

Returns NDArray with given data, preserving shape of the data
raw docstring

ndarray-doubleclj

(ndarray-double data)

Returns NDArray with given data, preserving shape of the data

Returns NDArray with given data, preserving shape of the data
raw docstring

reshape-restrideclj

(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
raw docstring

reshape-restride-doubleclj

(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
raw docstring

row-major-seqclj

(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)
raw docstring

row-major-seq-doubleclj

(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)
raw docstring

row-major-seq-no0dclj

(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
raw docstring

row-major-seq-no0d-doubleclj

(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
raw docstring

row-major-sliceclj

(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)
raw docstring

row-major-slice-doubleclj

(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)
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