Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taketo1024/swm-core

Pure Math in Pure Swift.
https://github.com/taketo1024/swm-core

algebra mathematics swift topology

Last synced: about 6 hours ago
JSON representation

Pure Math in Pure Swift.

Awesome Lists containing this project

README

        

# SwiftyMath

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

# Submodules

* [SwiftyHomology](https://github.com/taketo1024/SwiftyMath-homology)
* [SwiftyTopology](https://github.com/taketo1024/SwiftyMath-topology)
* [SwiftyKnots](https://github.com/taketo1024/SwiftyMath-knots)

# Getting Started

```shell
$ swift run --repl
```

```
1> import SwmCore
2> let a: Matrix3x3 = [1,2,3,4,5,6,7,8,9]
3> a.determinant
```

# Samples
* [Numbers](Playgrounds/Numbers.playground/Contents.swift)
* [Matrix](Playgrounds/Matrix.playground/Contents.swift)

## License
**Swifty Math** is released under [MIT license](LICENSE).