You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Avoid underflow in norm()
* Perform return-type assertion at last step
* Make _init_zero() take AbstractArray
* Define maxabs_nested() to find maximum of absolute values of entries in nested array
* Remove _norm() and define norm() directly for type stability
* Use maxabs_nested() to define norm() stably without underflow
* Call _init_zero() without qualification by StaticArrays
* Define norm_scaled() and call it inside norm()
* norm(a,p) does not call norm_scaled(a,p) if p == 0, 2, Inf
* Make code more succinct
* Use normInf() instead of maxabs_nested()
* Rename aₘ to scale
* Calculate scale with mapreduce()
* Re-introduce maxabs_nested to avoid type instability
* norm() calls _norm() and _norm_scaled()
* _norm_scaled(Size(a), a, p) does not need to deal with p==2
* Add test for overflow
* Add tests for underflow and overflow for p ≥ 2
* Avoid using iszero(l) and isinf(l) for speedup
* Avoid using iszero(scale) for speedup
0 commit comments