apple / apple/swift-numerics

Numerical Analysis Module

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

Description

Since Swift Numerics will be heavily based on numerical computing and math, I want to make this proposal for an add-on module on [**numerical analysis**](https://en.wikipedia.org/wiki/Numerical_analysis). Example use cases include (but are not limited to) the following:

* Finding the roots (or zeroes) of continuous functions
* Interpolating polynomials
* Approximating the definite integrals of continuous functions
* Solving linear systems
* Solving initial value problems

NOTE: `Complex` numbers are required for implementing [Muller’s method](http://mathworld.wolfram.com/MullersMethod.html).

P.S.: As someone with a background in applied mathematics, thank you @stephentyrone for introducing this wonderful Swift package!

Contributor guide

Open the contributing guide

Research direction

This is a broad proposal for a numerical analysis add-on covering roots, interpolation, integration, linear systems, and initial value problems. No files, tests, or entry points are named, so first establish the module scope and its relationship to Complex. Done requires an agreed design and an implemented, tested set of numerical-analysis capabilities.

Written by the indexing model from the issue text.

Assessment

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