Skip to content

Commit 2fee56d

Browse files
Fix documentation references
1 parent 9dc51e4 commit 2fee56d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/vnorm.jl

+7-5
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ were vectors.
3737
3838
`p` can assume any numeric value (even though not all values produce a
3939
mathematically valid vector norm). `vnorm(A, Inf)` returns the largest value in `abs.(A)`,
40-
whereas `vnorm(A, -Inf)` returns the smallest; `vnorm(A, 0)` matches the behavior of `norm(A, 0)`.
40+
whereas `vnorm(A, -Inf)` returns the smallest; `vnorm(A, 0)` matches the behavior of
41+
`LinearAlgebra.norm(A, 0)`.
4142
42-
See also: [`norm`](@ref)
43+
See also: [`vtnorm`](@ref)
4344
"""
4445
vnorm(A, p::Real=2; dims=:) = p == 0 ? _norm0(A, dims) : _vnorm(A, p, dims)
4546

@@ -69,9 +70,10 @@ Compute the `p`-norm of `A` along the dimensions `dims` as if the corresponding
6970
were vectors. Threaded.
7071
7172
`p` can assume any numeric value (even though not all values produce a
72-
mathematically valid vector norm). `vnorm(A, Inf)` returns the largest value in `abs.(A)`,
73-
whereas `vnorm(A, -Inf)` returns the smallest; `vnorm(A, 0)` matches the behavior of `norm(A, 0)`.
73+
mathematically valid vector norm). `vtnorm(A, Inf)` returns the largest value in `abs.(A)`,
74+
whereas `vtnorm(A, -Inf)` returns the smallest; `vnorm(A, 0)` matches the behavior
75+
of `LinearAlgebra.norm(A, 0)`.
7476
75-
See also: [`norm`](@ref)
77+
See also: [`vnorm`](@ref)
7678
"""
7779
vtnorm(A, p::Real=2; dims=:) = p == 0 ? _norm0(A, dims) : _vtnorm(A, p, dims)

0 commit comments

Comments
 (0)