Maybe this would help:

http://axiom-wiki.newsynthesis.org/ManipulatingExpressions

On Mon, Oct 1, 2018 at 2:01 PM Slawomir Kolodynski <[email protected]> wrote:
>
> Thank you for looking into this.
>
> >Instead, various routines analyze structure of expressions using lower level 
> >operations.
>
> Could you give some examples of those lower level operations? Pattern 
> matching and rewrite rules seem very useful to me , but I am ok with doing 
> lower level operations if those fail. I know about numerator, denominator and 
>  monomials so for example I can do
>
> e1 := (y-m)*x/s
> (monomials numerator e1)(1)
>
> to get x*y
>
> However when I try to do something similar with
>
> e2 := (y-m)*sqrt(x)/s
> numerator e2
>
> to get (y-m)*sqrt(x), I don't know how then to extract the components of this 
> product. Also, I could not find a way to extract an argument of a function, 
> for example if I have an expression
>
> sin(a*x+b)
>
> how to get the "a*x+b" part?
> Thanks,
>
> Slawomir
>

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to