mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 16:50:50 +01:00
[poincare] Add rule to reduce fraction
Change-Id: I2509f61e44962e0618b6447c982d869ac3f4efb2
This commit is contained in:
@@ -23,3 +23,6 @@ Multiplication.a(Integer.b,Integer.c) -> IntegerMultiplicationTransform(a,b,c);
|
||||
|
||||
// (b^c)^d -> b^(c*d)
|
||||
//Power.a(Power(b,c),d) -> PowerPowerTransform(a,b,c,d)
|
||||
|
||||
// int*int^-1 -> int.a*int.b^-1 with gcd(a,b) = 1
|
||||
Multiplication.a(Power.c(Integer.d, Integer[-1]), Integer.b) -> IntegerFractionReductionTransform(a,b,c,d);
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "rule.h"
|
||||
#include "selector/type_selector.h"
|
||||
#include "selector/type_and_identifier_selector.h"
|
||||
|
||||
namespace Poincare {
|
||||
namespace Simplification {
|
||||
|
||||
Reference in New Issue
Block a user