Comments (2)
w000t!!!
I'll have a look at it and start cracking.
from mathy.
Is this outside the scope of the project?
Yeah, the second case you show is not currently supported by the transform rules that are implemented. If you wanted to support this case you'd need to add a new rule that knows what to do to simplify fractions. Adding that would be a welcome addition to the mathy_core library!
You can find out more about implementing new rules on the website: https://mathy.ai/rules/overview/
You can see an example of an implemented rule here: https://github.com/mathy/mathy_core/blob/master/mathy_core/rules/distributive_factor_out.py
And the associated unit tests to verify that the rule works as expected here: https://github.com/mathy/mathy_core/blob/master/mathy_core/rules/distributive_factor_out.test.json
Finally, the documentation page that describes how the rule works: https://mathy.ai/rules/distributive_property_factor_out/
from mathy.
Related Issues (12)
- use underscore_case for python code consistently through API HOT 1
- Update API doc generation script to run with lint-staged
- Integration with fragile v0.0.44 HOT 7
- Error when installing the package HOT 7
- Adding new mathematical methods to mathy HOT 1
- Broken link HOT 1
- math problem
- Lim. Xln(x-2)/(x+3) X->+∞
- Cannot install mathy HOT 1
- How to use in code? HOT 1
- Can you provide some code examples? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mathy.