https://github.com/sasagawa888/minima
Formula processing system on Elixir
https://github.com/sasagawa888/minima
elixir
Last synced: 11 months ago
JSON representation
Formula processing system on Elixir
- Host: GitHub
- URL: https://github.com/sasagawa888/minima
- Owner: sasagawa888
- Created: 2020-01-02T02:19:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-11T05:50:59.000Z (over 6 years ago)
- Last Synced: 2025-08-02T02:03:11.850Z (11 months ago)
- Topics: elixir
- Language: Elixir
- Homepage:
- Size: 40 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minima
Simple formula processing sysytem on Elixir
Now, under construction.
## Installation
make clone and enter "mix minima"
e.g.
```
$ mix minima
Compiling 1 file (.ex)
Minima ver0.01
> 1+2;
3
> diff(x^3+2*x+3,x);
3*x^2+2
> integrate(cos(x),x);
sin(x)
> quit;
goodbye
```
## input
formula;
termination is ; semicolon
## differential
diff(formula,variable);
## integral
integra(formula,variable);
## matrix
- e.g. matrix([1,2],[3,4])
- '+ - * operation
- determinant(m)
- transpose(m)
- submatrix(m,i,j)
- invert(m)
- adjoint(m)
## quit
quit;