Maxima newb在这里。我需要检查表达式的格式为constant + infinite sum of trigonometric terms
,有没有很好的方法-有无块?
matchdeclare (xx, trigtermp(x));
matchdeclare (yy, freeof(x));
defrule (myrule1, xx + yy, HEY(xx, yy));
其中trigtermp
本身是与(乘数因子)*(触发函数)相匹配的模式匹配函数。我的建议是在参考手册中读到一些有关matchdeclare
,defrule
和defmatch
的信息,并可能跟进Maxima邮件列表([email protected]),因为此问题可能需要一些解决方法。其他讨论。