Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jbyuki/swan.lua
Symbolic math toolbox in Lua
https://github.com/jbyuki/swan.lua
lua symbolic-math
Last synced: 23 days ago
JSON representation
Symbolic math toolbox in Lua
- Host: GitHub
- URL: https://github.com/jbyuki/swan.lua
- Owner: jbyuki
- License: mit
- Created: 2022-05-01T12:47:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-14T21:20:16.000Z (2 months ago)
- Last Synced: 2024-10-12T22:54:32.945Z (about 1 month ago)
- Topics: lua, symbolic-math
- Language: Lua
- Homepage:
- Size: 90.8 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## swan.lua
A _work-in-progress_ symbolic math toolbox written in Lua.
### Goal
* Fast manipulation of large polynomials
### Quickstart
```lua
local swan = require"swan"
local a, b = swan.symbols "a b"
local eq = (a+b)^4
eq = eq:expand():simplify()
print(eq) -- => a⁴ + 4a³b + 6a²b² + 4ab³ + b⁴
```More to come...