You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
copy(M::Mul{Lay}) where Lay<:BroadcastLayout{typeof($op)}=broadcast($op, _broadcasted_mul(arguments(Lay(), M.A), M.B)...)
109
-
copy(M::Mul{Lay,<:LazyLayouts}) where Lay<:BroadcastLayout{typeof($op)}=broadcast($op, _broadcasted_mul(arguments(Lay(), M.A), M.B)...)
110
-
copy(M::Mul{<:Any,Lay}) where Lay<:BroadcastLayout{typeof($op)}=broadcast($op, _broadcasted_mul(M.A, arguments(Lay(), M.B))...)
111
-
copy(M::Mul{<:LazyLayouts,Lay}) where Lay<:BroadcastLayout{typeof($op)}=broadcast($op, _broadcasted_mul(M.A, arguments(Lay(), M.B))...)
112
-
copy(M::Mul{Lay,Lay}) where Lay<:BroadcastLayout{typeof($op)}=copy(Mul{Lay,UnknownLayout}(M.A, M.B))
113
-
simplify(M::Mul{Lay}) where Lay<:BroadcastLayout{typeof($op)}=copy(Mul{Lay,UnknownLayout}(M.A, M.B)) #TODO: remove, here for back-compat with QuasiArrays.jl
114
-
simplify(M::Mul{<:Any,Lay}) where Lay<:BroadcastLayout{typeof($op)}=copy(Mul{UnknownLayout,Lay}(M.A, M.B)) #TODO: remove, here for back-compat with QuasiArrays.jl
115
-
simplify(M::Mul{Lay,Lay}) where Lay<:BroadcastLayout{typeof($op)}=copy(M) #TODO: remove, here for back-compat with QuasiArrays.jl
simplify(M::Mul{BroadcastLayout{typeof($op)}}) =copy(Mul{BroadcastLayout{typeof($op)},UnknownLayout}(M.A, M.B)) #TODO: remove, here for back-compat with QuasiArrays.jl
116
+
simplify(M::Mul{<:Any,BroadcastLayout{typeof($op)}}) =copy(Mul{UnknownLayout,BroadcastLayout{typeof($op)}}(M.A, M.B)) #TODO: remove, here for back-compat with QuasiArrays.jl
117
+
simplify(M::Mul{BroadcastLayout{typeof($op)},BroadcastLayout{typeof($op)}}) =copy(M) #TODO: remove, here for back-compat with QuasiArrays.jl
116
118
end
117
119
end
118
120
119
-
simplifiable(M::Mul{Lay,BroadcastLayout{typeof(-)}}) where Lay<:BroadcastLayout{typeof(+)}=simplifiable(Mul{Lay,UnknownLayout}(M.A, M.B))
120
-
simplifiable(M::Mul{Lay,BroadcastLayout{typeof(+)}}) where Lay<:BroadcastLayout{typeof(-)}=simplifiable(Mul{Lay,UnknownLayout}(M.A, M.B))
copy(M::Mul{Lay,BroadcastLayout{typeof(-)}}) where Lay<:BroadcastLayout{typeof(+)}=copy(Mul{Lay,UnknownLayout}(M.A, M.B))
123
-
copy(M::Mul{Lay,BroadcastLayout{typeof(+)}}) where Lay<:BroadcastLayout{typeof(-)}=copy(Mul{Lay,UnknownLayout}(M.A, M.B))
124
-
simplify(M::Mul{Lay,BroadcastLayout{typeof(-)}}) where Lay<:BroadcastLayout{typeof(+)}=copy(Mul{Lay,UnknownLayout}(M.A, M.B)) #TODO: remove, here for back-compat with QuasiArrays.jl
125
-
simplify(M::Mul{Lay,BroadcastLayout{typeof(+)}}) where Lay<:BroadcastLayout{typeof(-)}=copy(Mul{Lay,UnknownLayout}(M.A, M.B)) #TODO: remove, here for back-compat with QuasiArrays.jl
simplify(M::Mul{BroadcastLayout{typeof(+)},BroadcastLayout{typeof(-)}})=copy(Mul{BroadcastLayout{typeof(+)},UnknownLayout}(M.A, M.B)) #TODO: remove, here for back-compat with QuasiArrays.jl
127
+
simplify(M::Mul{BroadcastLayout{typeof(-)} ,BroadcastLayout{typeof(+)}})=copy(Mul{BroadcastLayout{typeof(-)} ,UnknownLayout}(M.A, M.B)) #TODO: remove, here for back-compat with QuasiArrays.jl
0 commit comments