File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ New library features
113113 inserting or consuming the first dimension depending on the ratio of ` sizeof(T) ` and ` sizeof(S) ` .
114114* New ` append!(vector, collections...) ` and ` prepend!(vector, collections...) ` methods accept multiple
115115 collections to be appended or prepended ([ #36227 ] ).
116- * The postfix operator ` 'ᵀ ` can now be used as an alias for ` transpose ` ([ #38062 ] ).
117116* ` keys(io::IO) ` has been added, which returns all keys of ` io ` if ` io ` is an ` IOContext ` and an empty
118117 ` Base.KeySet ` otherwise ([ #37753 ] ).
119118* ` count ` now accepts an optional ` init ` argument to control the accumulation type ([ #37461 ] ).
Original file line number Diff line number Diff line change @@ -467,7 +467,6 @@ export
467467# linear algebra
468468 var"'" , # to enable syntax a' for adjoint
469469 adjoint,
470- var"'ᵀ" ,
471470 transpose,
472471 kron,
473472 kron!,
Original file line number Diff line number Diff line change 624624function kron! end
625625
626626const var"'" = adjoint
627- const var"'ᵀ" = transpose
628627
629628"""
630629 \\ (x, y)
Original file line number Diff line number Diff line change @@ -136,7 +136,6 @@ julia> x'x
136136adjoint (A:: AbstractVecOrMat ) = Adjoint (A)
137137
138138"""
139- A'ᵀ
140139 transpose(A)
141140
142141Lazy transpose. Mutating the returned object should appropriately mutate `A`. Often,
@@ -146,9 +145,6 @@ that this operation is recursive.
146145This operation is intended for linear algebra usage - for general data manipulation see
147146[`permutedims`](@ref Base.permutedims), which is non-recursive.
148147
149- !!! compat "Julia 1.6"
150- The postfix operator `'ᵀ` requires Julia 1.6.
151-
152148# Examples
153149```jldoctest
154150julia> A = [3+2im 9+2im; 8+7im 4+6im]
@@ -160,14 +156,6 @@ julia> transpose(A)
1601562×2 transpose(::Matrix{Complex{Int64}}) with eltype Complex{Int64}:
161157 3+2im 8+7im
162158 9+2im 4+6im
163-
164- julia> x = [3, 4im]
165- 2-element Vector{Complex{Int64}}:
166- 3 + 0im
167- 0 + 4im
168-
169- julia> x'ᵀx
170- -7 + 0im
171159```
172160"""
173161transpose (A:: AbstractVecOrMat ) = Transpose (A)
Original file line number Diff line number Diff line change 280280 @test ∋ (0 )(- 2 : 2 )
281281end
282282
283- a = rand (3 , 3 )
284- @test transpose (a) === a' ᵀ
285-
286283@test [Base. afoldl (+ , 1 : i... ) for i = 1 : 40 ] == [i * (i + 1 ) ÷ 2 for i = 1 : 40 ]
You can’t perform that action at this time.
0 commit comments