|
|
|
|
|
by sveske_juice
629 days ago
|
|
Currently you can define some functions which will be autorun on expressions. So if you for example write an expression by itself, like `d/dx x^2` it will automatically call a "main" function, which among other things handles differentiation. So it will be evaluated to 2*x. I would love to see your mathmatica like CAS. I'm still kind of new to this field of CS :D |
|
Edit: I actually rewrote it to https://github.com/anandijain/cas8.rs to have Exprs be reference counted (makes it much faster), but all of the documentation is on the first link