JuliaApproximation / JuliaApproximation/MultivariateOrthogonalPolynomials.jl

Better syntax for x,y = first.(xy),last.(xy)

Open
#82 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
20
Forks
6
Avg merge
2d 17h
Merged PRs (30d)
1

Description

Right now we can construct the basic monomials via e.g.

P = Zernike()
xy = axes(P,1)
x,y = first.(xy),last.(xy)

which already isn't very nice but even worse if we do 3D do we really want to write:

P = ZernikeBall()
xyz = axes(P,1)
x,y,z = first.(xyz),getindex.(xyz,2),last.(xyz)

The catch: what's a good name???? Best I could come up with is

P = Zernike()
x,y,z = coordinateaxes(P,1)

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 reviewing the existing axes(P,1) usage shown in the issue for both Zernike and ZernikeBall cases. The work is done when the project has agreed on a coordinate-access API and its behavior for the demonstrated two- and three-dimensional examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.