num::kernel::l1_norm¶ Defined in header <kernel/vector.hpp> template <std::floating_point T> T l1_norm(const T *x, idx n) noexcept; Computes \(L_1\) norm \(\|\mathbf{x}\|_1 = \sum_{i=0}^{n-1} |x_i|\).