Bug 217404

Summary: Polynomials are not detected when there are different variables
Product: [Applications] kalgebra Reporter: George Sebastian <11george.s>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description George Sebastian 2009-12-05 05:00:42 UTC
Version:           0.8 (using KDE 4.3.2)
Compiler:          cmake 2.6-patch 4 
OS:                Linux
Installed from:    Compiled From Sources

an expression like
2*x+3*x
gives 
5*x
but

something like
2*x*y + 5*x*y        or        2x*y+5x*y
gives
2*x*y + 5*x*y
Comment 1 Aleix Pol 2011-04-16 11:44:39 UTC
Git commit c54c16bc6610c768b7d19a3f81c18b82d181fafd by Aleix Pol.
Committed on 16/04/2011 at 11:48.
Pushed by apol into branch 'master'.

Improve polynomial detection for simplification.

BUG: 217404
REVIEW: 101137

M  +43   -19   analitza/analyzer.cpp     
M  +16   -4    analitza/apply.cpp     
M  +2    -0    analitza/apply.h     
M  +2    -0    analitza/tests/analitzatest.cpp     

http://commits.kde.org/kalgebra/c54c16bc6610c768b7d19a3f81c18b82d181fafd