Open
Description
It's not a norm and it's not p
(in the same way as norm(x,p)
for p>0
). See the discussion in JuliaLang/julia#30631. It currently behaves as norm(x,p)^p -> norm(x,0)
in p
so it's questionable to bundle this functionality inside norm(x,p)
. Sure, it can be useful to count the number of non-zeros in an array but count(!iszero, x)
should be just fine for that.