JuliaInterop / JuliaInterop/MathLink.jl
Put and get packed arrays / matrices
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 146
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
The main technical challenge is figuring out what is the element type of the array. This isn't documented, but see:
- https://groups.google.com/d/msg/comp.soft-sys.math.mathematica/tPim3jnfh9I/14rVRRZjM80J
- https://mathematica.stackexchange.com/questions/180706/how-to-send-packed-array-from-math-kernel-to-3rd-party-app-via-wstp
At the interface level, there are two main challenges:
- Mathematica is row-oriented instead of column-oriented
- Each dimension in Mathematica can have a "name" (typically
List, but can be different).
So it would probably make sense to define a new type (WArrayExpr) to store these?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by reviewing the existing WSTP expression and array handling, then read the linked discussions about packed-array element types and orientation. Done should cover putting and getting packed arrays or matrices while representing element types, row/column orientation, and per-dimension names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100