ArrayInterface.jl icon indicating copy to clipboard operation
ArrayInterface.jl copied to clipboard

promote_eltype for LinearAlgebra and SparseArrays types

Open blegat opened this issue 2 years ago • 1 comments

Would it make sense to implement promote_eltype in this package for the LinearAlgebra and SparseArrays types. I see many functions of the ArrayInterface API are already implemented for such types. This would be helpful for MutableArithmetics which is currently trying to do it but is only doing it for Symmetric, Transpose, Adjoint and sparse arrays. See https://github.com/jump-dev/MutableArithmetics.jl/pull/205

blegat avatar Mar 21 '23 09:03 blegat

Yes, that would be a good addition.

ChrisRackauckas avatar Mar 21 '23 09:03 ChrisRackauckas