JuliaArrays / JuliaArrays/StructArrays.jl

Would it make sense to implement linear algebra for complex matrices?

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

Nobody has claimed this yet.

Dominant language
Julia
Stars
402
Forks
49
PR merge metrics
No merged PRs in 30d

Description

Currently, one needs to split matrix multiplication into products over the components to avoid hitting generic fallback functions. Would it make sense to implement various matrix-multiplication methods for StructArray{<:Complex} types in this package as a convenience?

I realize that this risks becoming a minefield of ambiguities, so it'll require significant effort to disambiguate with all the structured matrix types defined in Base. It'll also mean that we'll have to add LinearAlgebra as a direct dependency.

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 tracing the generic fallback paths reached by matrix multiplication for StructArray{<:Complex} types, then review the structured matrix types defined in Julia Base. Assess the ambiguities between those types and the implications of adding LinearAlgebra as a direct dependency. Done means a documented scope and implementation plan, or a supported implementation with coverage for the relevant multiplication methods.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.