@@ -101,7 +101,7 @@ to verify that `p` is a permutation.
101101To return a new permutation, use `v[p]`. Note that this is generally faster than
102102`permute!(v,p)` for large vectors.
103103
104- See also [`ipermute !`](@ref).
104+ See also [`invpermute !`](@ref).
105105
106106# Examples
107107```jldoctest
@@ -121,7 +121,7 @@ julia> A
121121"""
122122permute! (a, p:: AbstractVector ) = permute!! (a, copymutable (p))
123123
124- function ipermute !! (a, p:: AbstractVector{<:Integer} )
124+ function invpermute !! (a, p:: AbstractVector{<:Integer} )
125125 count = 0
126126 start = 0
127127 while count < length (a)
@@ -145,7 +145,7 @@ function ipermute!!(a, p::AbstractVector{<:Integer})
145145end
146146
147147"""
148- ipermute !(v, p)
148+ invpermute !(v, p)
149149
150150Like [`permute!`](@ref), but the inverse of the given permutation is applied.
151151
@@ -155,7 +155,7 @@ julia> A = [1, 1, 3, 4];
155155
156156julia> perm = [2, 4, 3, 1];
157157
158- julia> ipermute !(A, perm);
158+ julia> invpermute !(A, perm);
159159
160160julia> A
1611614-element Array{Int64,1}:
@@ -165,7 +165,7 @@ julia> A
165165 1
166166```
167167"""
168- ipermute ! (a, p:: AbstractVector ) = ipermute !! (a, copymutable (p))
168+ invpermute ! (a, p:: AbstractVector ) = invpermute !! (a, copymutable (p))
169169
170170"""
171171 invperm(v)
0 commit comments