Liking cljdoc? Tell your friends :D

uncomplicate.neanderthal.auxil

Contains type-agnostic auxiliary functions roughly corresponding to the functionality usually defined in auxiliary LAPACK (sorting etc.), or useful functions that may not commonly be implemented by BLAS engines, but are helpful vectorized ruoutines. This namespace works similarly to uncomplicate.neanderthal.core; see there for more details about the intended use.

Cheat Sheet

Contains type-agnostic auxiliary functions roughly corresponding to the functionality
usually defined in auxiliary LAPACK (sorting etc.), or useful functions that may not commonly be
implemented by BLAS engines, but are helpful vectorized ruoutines. This namespace works similarly
to [[uncomplicate.neanderthal.core]]; see there for more details about the intended use.

### Cheat Sheet

- Sorting:  [[sort!]], [[sort+!]], [[sort-!]].
- Interchanges: [[swap-rows!]], [[swap-rows]], [[swap-cols!]], [[swap-cols]].
- Permutations: [[permute-rows!]], [[permute-rows]], [[permute-cols!]], [[permute-cols]].
raw docstring

permute-colsclj

(permute-cols a jpiv)
(permute-cols a jpiv forward)

Rearranges columns of a given matrix as specified by a permutation vector jpiv forward or backward.

See lapmr

Rearranges columns of a given matrix as specified by a permutation vector `jpiv`
forward or backward.

See [lapmr](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-2/lapmr.html)
raw docstring

permute-cols!clj

(permute-cols! a jpiv)
(permute-cols! a jpiv forward)

Destructively rearranges columns of a given matrix as specified by a permutation vector jpiv forward or backward.

See lapmr

Destructively rearranges columns of a given matrix as specified by a permutation vector `jpiv`
forward or backward.

See [lapmr](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-2/lapmr.html)
raw docstring

permute-rowsclj

(permute-rows a ipiv)
(permute-rows a ipiv forward)

Rearranges rows of a given matrix as specified by a permutation vector ipiv forward or backward.

See lapmr

Rearranges rows of a given matrix as specified by a permutation vector `ipiv`
forward or backward.

See [lapmr](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-2/lapmr.html)
raw docstring

permute-rows!clj

(permute-rows! a ipiv)
(permute-rows! a ipiv forward)

Destructively rearranges rows of a given matrix as specified by a permutation vector ipiv forward or backward.

See lapmr

Destructively rearranges rows of a given matrix as specified by a permutation vector `ipiv`
forward or backward.

See [lapmr](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-2/lapmr.html)
raw docstring

sort!clj

(sort! x increasing)

Sorts input vector or all matrix slices (columns or rows, according to layout).

If x is a vector with stride different than 1, throws ex-info.

See lasrt

Sorts input vector or all matrix slices (columns or rows, according to layout).

If `x` is a vector with stride different than 1, throws `ex-info`.

See [lasrt](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-0/lasrt.html)
raw docstring

sort+!clj

(sort+! x)

Sorts input vector or all matrix slices (columns or rows, according to layout) in ascending order.

If x is a vector with stride different than 1, throws ex-info.

See lasrt

Sorts input vector or all matrix slices (columns or rows, according to layout) in ascending order.

If `x` is a vector with stride different than 1, throws `ex-info`.

See [lasrt](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-0/lasrt.html)
raw docstring

sort-!clj

(sort-! x)

Sorts input vector or all matrix slices (columns or rows, according to layout) in descending order.

If x is a vector with stride different than 1, throws ex-info.

See lasrt

Sorts input vector or all matrix slices (columns or rows, according to layout) in descending order.

If `x` is a vector with stride different than 1, throws `ex-info`.

See [lasrt](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-0/lasrt.html)
raw docstring

swap-colsclj

(swap-cols a ipiv)
(swap-cols a ipiv k1 k2)

Performs a series of column interchanges on a general rectangular matrix.

If (dim x) is smaller than k2 - k1, throws ex-info.

See laswp

Performs a series of column interchanges on a general rectangular matrix.

If `(dim x)` is smaller than k2 - k1, throws `ex-info`.

See [laswp](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-0/laswp.html)
raw docstring

swap-cols!clj

(swap-cols! a jpiv)
(swap-cols! a jpiv k1 k2)

Performs a series of destructive column interchanges on a general rectangular matrix.

If (dim x) is smaller than k2 - k1, throws ex-info.

See laswp

Performs a series of destructive column interchanges on a general rectangular matrix.

If `(dim x)` is smaller than k2 - k1, throws `ex-info`.

See [laswp](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-0/laswp.html)
raw docstring

swap-rowsclj

(swap-rows a ipiv)
(swap-rows a ipiv k1 k2)

Performs a series of destructive row interchanges on a general rectangular matrix.

If (dim x) is smaller than k2 - k1, throws ex-info.

See laswp

Performs a series of destructive row interchanges on a general rectangular matrix.

If `(dim x)` is smaller than k2 - k1, throws `ex-info`.

See [laswp](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-0/laswp.html)
raw docstring

swap-rows!clj

(swap-rows! a ipiv)
(swap-rows! a ipiv k1 k2)

Performs a series of destructive row interchanges on a general rectangular matrix.

If (dim x) is smaller than k2 - k1, throws ex-info.

See laswp

Performs a series of destructive row interchanges on a general rectangular matrix.

If `(dim x)` is smaller than k2 - k1, throws `ex-info`.

See [laswp](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-0/laswp.html)
raw docstring

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

× close