Project

General

Profile

Bug #1291

LinearSimplify: somtimes not optimal

Added by John Abbott almost 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
enhancing/improving
Target version:
Start date:
27 May 2019
Due date:
% Done:

0%

Estimated time:

Description

Sometimes LinearSimplify could produce a simpler result:

f := x^4+4*x^3+5*x^2+2*x+1;
LinearSimplify(f);
record[LinearChange := x, SimplePoly := x^4 +4*x^3 +5*x^2 +2*x +1]

subst(f,x,x-1);
x^4 -x^2 +1

Improve it (without making it measurably slower).

Also available in: Atom PDF