JuliaArrays / JuliaArrays/StaticArrays.jl

Similar with specified size

Open
#545 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

design feature
Dominant language
Julia
Stars
844
Forks
159
Avg merge
3d 21h
Merged PRs (30d)
3

Description

Hi,

Is there a way to make this work for Array and Static Arrays?

Thank you

v1 = MVector(1, 2, 3)
similar(v1,4)

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

No file or test is named. Start by reproducing the Julia example with MVector and similar(v1, 4), then inspect the existing similar behavior for arrays and static arrays. Done means the specified-size operation has clearly defined and tested behavior for both Array and StaticArrays.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.