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.
sort!
, sort+!
, sort-!
.swap-rows!
, swap-rows
, swap-cols!
, swap-cols
.permute-rows!
, permute-rows
, permute-cols!
, permute-cols
.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]].
(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)
(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)
(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)
(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)
(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)
(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)
(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)
(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)
(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)
(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)
(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)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close