Skip to content

Commit ea34b13

Browse files
dkarraschKristofferC
authored andcommitted
Remove SparseArrays legacy code (#50637)
(cherry picked from commit c57d33a)
1 parent 6616549 commit ea34b13

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

stdlib/LinearAlgebra/src/adjtrans.jl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,6 @@ end
6464
Adjoint(A) = Adjoint{Base.promote_op(adjoint,eltype(A)),typeof(A)}(A)
6565
Transpose(A) = Transpose{Base.promote_op(transpose,eltype(A)),typeof(A)}(A)
6666

67-
# TODO: remove, is already replaced by wrapperop
68-
"""
69-
adj_or_trans(::AbstractArray) -> adjoint|transpose|identity
70-
adj_or_trans(::Type{<:AbstractArray}) -> adjoint|transpose|identity
71-
Return [`adjoint`](@ref) from an `Adjoint` type or object and
72-
[`transpose`](@ref) from a `Transpose` type or object. Otherwise,
73-
return [`identity`](@ref). Note that `Adjoint` and `Transpose` have
74-
to be the outer-most wrapper object for a non-`identity` function to be
75-
returned.
76-
"""
77-
adj_or_trans(::T) where {T<:AbstractArray} = adj_or_trans(T)
78-
adj_or_trans(::Type{<:AbstractArray}) = identity
79-
adj_or_trans(::Type{<:Adjoint}) = adjoint
80-
adj_or_trans(::Type{<:Transpose}) = transpose
81-
8267
"""
8368
inplace_adj_or_trans(::AbstractArray) -> adjoint!|transpose!|copyto!
8469
inplace_adj_or_trans(::Type{<:AbstractArray}) -> adjoint!|transpose!|copyto!

stdlib/LinearAlgebra/src/triangular.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -671,12 +671,6 @@ fillstored!(A::UnitUpperTriangular, x) = (fillband!(A.data, x, 1, size(A,2)-1);
671671
# BlasFloat routines #
672672
######################
673673

674-
# legacy stuff, to be removed
675-
_multrimat!(C, A, B) = _trimul!(C, A, B)
676-
_mulmattri!(C, A, B) = _trimul!(C, A, B)
677-
_uconvert_copyto!(c, b, oA) = (c .= Ref(oA) .\ b)
678-
_uconvert_copyto!(c::AbstractArray{T}, b::AbstractArray{T}, _) where {T} = copyto!(c, b)
679-
680674
# which triangle to use of the underlying data
681675
uplo_char(::UpperOrUnitUpperTriangular) = 'U'
682676
uplo_char(::LowerOrUnitLowerTriangular) = 'L'

0 commit comments

Comments
 (0)