[Maxima] finding subterms in a bigger term
fateman at cs.berkeley.edu
Mon Sep 17 09:55:25 CDT 2007
> -----Original Message-----
> From: maxima-bounces at math.utexas.edu
> [mailto:maxima-bounces at math.utexas.edu] On Behalf Of andre maute
> Sent: Monday, September 17, 2007 6:14 AM
> Sorry if I was unclear, i want to exactly imitate my
> calculation by hand,
There are several possibilities.
1. Someone has previously decided that what you are trying to do is so
useful that he or she has written a program to do that. There are programs
like ratsimp and factor, or maybe minfactorial.
2. Your hand calculations are different. You have a choice of picking apart
the expression by using functions like part or substpart. Or you can write
an algorithm, perhaps using pattern matching, to find and change
subexpressions. You would have to exactly specify what you want done in each
case. The computer cannot imitate your hand calculations unless you specify
what they are! My guess is that you need to specify simplification of
products (of gamma functions and other things). So you must have rules for
A*gamma(B)*gamma(C) for some particular A,B,C where A might include
other gamma functions...
> yields a much more complex result than the one obtained by my
> calculation by
> Is it really so difficult to find every occurences of a gamma
> term and inspect
> it further, sorry for being perhaps ignorant but I haven't done
> 'advanced' term manipulation within a CAS, yet.
> Regards Andre
> Maxima mailing list
> Maxima at math.utexas.edu
More information about the Maxima