JuliaApproximation / JuliaApproximation/ApproxFunBase.jl

Why does ZeroOperator have a rangespace?

Open
#8 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
13
Forks
13
Avg merge
10h 33m
Merged PRs (30d)
16

Description

ZeroOperator maps whatever Fun to zero on a specific Domain. Whatever space on that Domain doesn't matter.

For example, there is an Operator called C from space S1 to space S2. There is a ZeroOperator called D from space S1 to space S3. S2 and S3 are both spaces on [-1,1].

Executing C+D will trigger a conversion between S2 and S3, which can't succeed in general for random S2 and S3. But C+D should be C AFAIK.

IMO the field rangespace of ZeroOperator should be replaced by domain.

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 locating the ZeroOperator definition and the dispatch or implementation for C+D. Check how rangespace and domain are used when combining operators, then determine whether the proposed domain-based behavior avoids conversion between unrelated range spaces. Done means the intended ZeroOperator semantics are established and covered by relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Bug
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.