Truncations

Currently, truncations are supported through the following different methods:

MatrixAlgebraKit.truncrankFunction
truncrank(howmany::Int; by=abs, rev=true)

Truncation strategy to keep the first howmany values when sorted according to by or the last howmany if rev is true.

source
MatrixAlgebraKit.trunctolFunction
trunctol(atol::Real; by=abs)

Truncation strategy to discard the values that are smaller than atol according to by.

source