taketo1024 / swm-core

Pure Math in Pure Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Pure Math in Pure Swift.

License:MIT License


Languages

Language:Swift 100.0%