Scales each row of a numeric matrix by its L-infinity norm (row maximum). Rows whose maximum is at or below tolerance are left unchanged; nonzero entries in these rows are not replaced by zeros.
Usage
normalize.linf(X, tol = 0, backend = c("auto", "dense", "sparse"))Details
Zero rows have undefined L-infinity direction. By convention, they are
preserved as all-zero rows and yield NA in dominant-feature assignment.
The pure dCST view places them in the rare category; the absorb view assigns
them to its fallback retained state, if any. A nonzero row left unscaled
because of tol still has a dominant feature.