JuliaArrays / JuliaArrays/FillArrays.jl

Support structured array types

Open
#223 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
187
Forks
41
Avg merge
17h 29m
Merged PRs (30d)
1

Description

Since JuliaLang/julia#222 , fill +/- loses support for most structured arrays.

julia> s=Symmetric(rand(3,3))
3×3 Symmetric{Float64, Matrix{Float64}}:
 0.110199  0.379641  0.536482
 0.379641  0.518226  0.384931
 0.536482  0.384931  0.955319

julia> s+Zeros(3,3)
3×3 Matrix{Float64}:
 0.110199  0.379641  0.536482
 0.379641  0.518226  0.384931
 0.536482  0.384931  0.955319

It's not practical to list the types since ToeplitzMatrices, LazyArrays, StaticArrays, etc., are not dependencies. This could be solved in Julia 1.9 using package extensions.

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

Start by reading JuliaLang/julia#222 and the current FillArrays behavior for fill +/- with structured arrays. Investigate how Julia 1.9 package extensions could support types from packages such as ToeplitzMatrices, LazyArrays, and StaticArrays without adding dependencies. Done means structured array types retain support for these operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.