lisp - How to extract subexpressions in maxima? -


let's assume maxima function gave me fraction result. example

(%o1)     bla / blubb   

where bla , blubb again more complicated expressions.

now want process numerator , denominator separately. how can extract them separate variables?

i know bla/blubb internally represented list in lisp,

:lisp (setq $oneofthem (nth 2 $%o1));  

to lisp representation of numerator or denominator. however, feel maxima , lisp representation differ in commutation, i'm not sure in advance if maxima variable oneofthem contains first or second factor (either bla or (mtimes blubb -1)).

the main functions part , inpart. see substinpart, pickapart, reveal.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -