apple / apple/swift-numerics

ShapedArray type and/or protocol

Open
#6 18 comments 45 reactions 0 assignees View on GitHub
new module
Dominant language
Swift
Stars
1.9k
Forks
181
Avg merge
2d 5h
Merged PRs (30d)
6

Description

Add a ShapedArray type and/or protocol suitable for use as the common currency type for vectors / linear algebra / image processing / tensors, like ndarray is for numpy.

This should hew pretty closely to what S4TF already does with their ShapedArray type; it doesn't need to be identical, but we need to have a good reason for any changes.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the proposed scope with S4TF's ShapedArray type, as requested in the issue. Define whether the result is a type, a protocol, or both, and consider support for vectors, linear algebra, image processing, and tensors; done requires an agreed common currency with justified differences from S4TF.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data
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.