LVAR
: returns the list of global names of an algebraic.
The list is
sorted by reverse alphabetic order. Square roots are at the beginning.
Example:'SIN(A)+B*X+1' -> { X B 'SIN(A)' }
EXEC
:
{ 1 2 3 } << NEG >> EXEC
{ 1 2 3 } CHS
'objA=objB'
), replace objA
by objB
in stack2.
'COS(X)+i*SIN(X)' { SIN COS } { << i * EXP DUP INV - i 2 * / >> << i * EXP DUP INV + 2 / >> }replace and by complex exponentials. If you call
EXPA
after you get eix.