JuliaArrays / JuliaArrays/ArrayInterface.jl

promote_eltype for LinearAlgebra and SparseArrays types

Open
#397 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
140
Forks
44
Avg merge
4d 14h
Merged PRs (30d)
5

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no file or test; begin by reviewing ArrayInterface's existing implementations and the linked MutableArithmetics PR #205. Determine which LinearAlgebra and SparseArrays types should be covered, then verify promote_eltype behavior for the agreed scope with appropriate test coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.