Description
Swift Numerics is a package from Apple that provides advanced mathematical types and functions for Swift, for numerical computing. Its modules fall into two groups. Some hold APIs that are too specialized for the Swift standard library, but general enough to share in one common package. Others hold APIs that are under active development toward possible inclusion in the standard library, and an API can move from the first group to the second as it matures and new uses are found. The package is organized as a set of modules that you add to your Swift project through Swift Package Manager, and the repository's README explains how to do that. It is open source and developed on GitHub under the apple organization, with contributing and security policy files. Swift Numerics suits developers who need numerical types and functions that the standard library does not yet provide. Because some APIs are still in development, check the stability notes in the repository before depending on a particular module.…
Highlights
- Advanced math types for Swift
- Modules in active development
- Add with Swift Package Manager
- Maintained by Apple on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate Swift Numerics.
People also visit
Swift Numerics FAQ
What is Swift Numerics?
A package from Apple that adds advanced mathematical types and functions to Swift.
Is it free?
Yes. The source is public on GitHub and the listing shows no paid plan.
How do I use it in my project?
The README has a section on using Swift Numerics in your project, through Swift Package Manager.
Are all modules stable?
Some modules are under active development toward the standard library, so check the repository's notes before relying on one.
Why is some API in this package?
The README says it holds APIs too specialized for the standard library, and APIs being developed for possible inclusion.
Who maintains it?
The repository sits under the apple organization on GitHub.
What are the best Swift Numerics alternatives?
Popular alternatives to Swift Numerics include Mathnet Numerics, SwiftMath and Pointfreeco. See all Swift Numerics alternatives






