uncomplicate.neanderthal.aux

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 the uncomplicate.neanderthal.core namespace; see there for more details about the intended use.

Cheat Sheet

sort!

(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 ExceptionInfo.

sort+!

(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 ExceptionInfo.

sort-!

(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 ExceptionInfo.