EasyRoot alternatives and similar libraries
Based on the "Math" category.
Alternatively, view EasyRoot alternatives based on common mentions on social networks and blogs.
-
Expression
A cross-platform Swift library for evaluating mathematical expressions at runtime -
SigmaSwiftStatistics
A collection of functions for statistical calculation written in Swift. -
VectorMath
A Swift library for Mac and iOS that implements common 2D and 3D vector and matrix functions, useful for games or vector-based graphics -
SwiftSimplify
🥷 High-performance polyline simplification library - port of simplify.js -
SwiftMath
📐 A math framework for Swift. Includes: vectors, matrices, complex numbers, quaternions and polynomials. -
Matft
Numpy-like library in swift. (Multi-dimensional Array, ndarray, matrix and vector library) -
Arithmosophi
A set of protocols for Arithmetic, Statistics and Logical operations -
Swift-MathEagle
A general math framework to make using math easy. Currently supports function solving and optimisation, matrix and vector algebra, complex numbers, big int, big frac, big rational, graphs and general handy extensions and functions.
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of EasyRoot or a related project?
README
A Swift framework for simplifying radicals.
Usage
CocoaPods
Add EasyRoot to your Podfile:
pod 'EasyRoot'
And run pod install
Example
To use the Radical
object:
// Simplify the square root of 27
// Create the radical object
let expression = Radical(root: 27)
// Simplify the expression
expression.simplify()
// Print the result
print("\(expression.coefficient) roots of \(expression.radicand)")
// => 3 roots of 3
Currently, the expression will remain the same if the simplified result contains an imaginary number.
For more examples, see the documentation
Features
Currently supports simplifying integer-only radicals. For example:
- Root 4
- Result: 2
- 3 root -27
- Result: -3
And so forth.
Contributing
Bugs
Feel free to open issues for any bugs found.
Pull Requests
If you wish to contribute to EasyRoot, create a new branch, implement your feature or fix, and then submit a pull request.
Documentation
Generate documentation with Jazzy