Truncations
Currently, truncations are supported through the following different methods:
MatrixAlgebraKit.truncrank
— Functiontruncrank(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.
MatrixAlgebraKit.trunctol
— Functiontrunctol(atol::Real)
Truncation strategy to discard the values that are smaller than atol
in absolute value.
MatrixAlgebraKit.truncabove
— Functiontruncabove(atol::Real)
Truncation strategy to discard the values that are larger than atol
in absolute value.