SwiftyMath

May 24, 2021 ยท View on GitHub

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

  • SwiftyHomology
  • SwiftyTopology
  • SwiftyKnots

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

  • Numbers
  • Matrix

License

Swifty Math is released under MIT license.