Last month I mentioned a Swift math library inspired by NumPy providing a number of utility functions for performing matrix math.
Here’s a library from Mattt Thompson that uses a feature allowing you to use symbols are custom operators providing an implementation for many different math symbols.
In total there are over 40 symbols implemented within Euler.
You can find Euler on Github here.
Note that using these symbols is currently undocumented (only usage of the / = – + * % <> ! & | ^ . ~ symbols as custom operators is currently documented) so you may want to hold from using Euler for production use until it is.
- An Open Source Swift Math Library Inspired By Python’s NumPy
- Tutorial: Using Generics To Implement KVO In Swift
- Open Source iOS Component For Creating Great Looking Custom Alert Views Made With Swift
- Extensive Swift Utility Library Inspired By Python’s Standard Library
- An Open Source Highly Flexible Logging Utility For Swift And Objective-C
Original article: An Open Source Library Implementing Over 40 Math Symbols As Custom Operators In Swift
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.