vermaseren / form

The FORM project for symbolic manipulation of very big expressions
GNU General Public License v3.0
1.15k stars 136 forks source link

ToPolynomial for function sets #247

Open tueda opened 6 years ago

tueda commented 6 years ago

Maybe it would be nice if the following works:

CF f1,f2,g1,g2;
Set ff: f1,f2;
L F = f1(1)*f2(1)*g1(1)*g2(1);
topolynomial onlyfunctions, ff;
P;
.end

Currently FORM gives

FORM 4.2.0 (Oct 26 2017, v4.2.0-22-g954024f) 64-bits  Run: Mon Nov 27 20:05:50 2017
    CF f1,f2,g1,g2;
    Set ff: f1,f2;
    L F = f1(1)*f2(1)*g1(1)*g2(1);
    topolynomial onlyfunctions, ff;
test.frm Line 4 --> ff is not a function in ToPolynomial statement
    P;
    .end
Program terminating at test.frm Line 5 --> 
  0.00 sec out of 0.00 sec