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

partitions_ with tensor arguments #326

Open apik opened 5 years ago

apik commented 5 years ago

Is it correct to use tensor as an argument of partitions_ function?

Its behavior for ordinary functions and tensors looks different:

#-
I mu1,...,mu100;
CT t1;
CF f1;

L eA2 = partitions_(0,f1,2,mu1,...,mu2);

L eB2 = partitions_(0,t1,2,mu1,...,mu2);

Print+s;
.end

Produce:

   eA2 =
       + f1(mu1,mu2)
      ;

   eB2 =
       + t1(?,mu1,?,mu2)
      ;
tueda commented 5 years ago

Raw values:

eA2:
11  151  7  0  -4  130  -4  131  1  1  3

eB2:
11  150  7  0  -4  130  -4  131  1  1  3

Similar ? in Print appeared in #208, which seems to be also related to the difference between functions and tensors; maybe by the same bug.

vermaseren commented 5 years ago

Maybe the manual should say: do not use tensors. That case has been omitted in the code.

Jos

On 27 Sep 2019, at 12:08, Takahiro Ueda notifications@github.com wrote:

Raw values:

eA2: 11 151 7 0 -4 130 -4 131 1 1 3

eB2: 11 150 7 0 -4 130 -4 131 1 1 3 Similar ? in Print appeared in #208 https://github.com/vermaseren/form/issues/208, which seems to be also related to the difference between functions and tensors; maybe by the same bug.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vermaseren/form/issues/326?email_source=notifications&email_token=ABJPCEUW4UIE2S67ED4HQBLQLXLTTA5CNFSM4I3EISCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7YN45A#issuecomment-535879284, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJPCEQZ3YD2QNEB5ZDPSRLQLXLTTANCNFSM4I3EISCA.