Skip to content

Wildcard Argument Matching with Vectors #690

Answered by tueda
phenomax asked this question in Q&A
Discussion options

You must be logged in to vote

It's a known limitation of the FORM pattern matcher (for products of symbols/scalar products and functions), and a workaround can be found here.

cf dot(s);

...

id q1?.q2? = dot(q1,q2);
id dot(p1?pint,v1?qext)*dummycf(?a,mom,?b,-v1?,?c) = 1;
id dot(q1?,q2?) = q1.q2;

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by phenomax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants