swm core

Pure Math in Pure Swift.

191
15
Swift

SwiftyMath

The aim of this project is to understand Mathematics by realizing abstract concepts as codes. Mathematical axioms correspond to protocols, and objects satisfying some axioms correspond to structs.

Submodules

Getting Started

$ swift run --repl
1> import SwmCore
2> let a: Matrix3x3<Int> = [1,2,3,4,5,6,7,8,9]
3> a.determinant

Samples

License

Swifty Math is released under MIT license.