JuliaLang / JuliaLang/LinearAlgebra.jl
Norm along side axis
Open
- Dominant language
- Julia
- Stars
- 77
- Forks
- 65
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 10
Description
It would be nice if the `LinearAlgebra.norm` function have the `dims` keyword, like others linear algebra functions and like numpy norm axis parameter (https://docs.scipy.org/doc/numpy/reference/generated/numpy.linalg.norm.html)
Just for example:
```
function norm(itr, p::Real=2; dims)
sum(itr.^p; dims=dims).^(1/p)
end
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.