File: stopex.usg

package info (click to toggle)
maxima 5.6-17
  • links: PTS
  • area: main
  • in suites: woody
  • size: 30,572 kB
  • ctags: 47,715
  • sloc: ansic: 154,079; lisp: 147,553; asm: 45,843; tcl: 16,744; sh: 11,057; makefile: 7,198; perl: 1,842; sed: 334; fortran: 24; awk: 5
file content (26 lines) | stat: -rw-r--r-- 1,200 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
The file SHARE1;DSK:STOPEX FASL contains two functions that are useful
for performing  expansions with respect to specified variables or opera-
tors:

EXPANDWRT(exp,var1,var2,...) expands exp with respect to the  vari.  All
    products involving  the vari appear  explicitly.  The  form returned
    will be free of products of sums of expressions that are not free of
    the vari.  The vari may be variables, operators, or expressions.  By
    default, denominators are not  expanded, but this can  be controlled
    by means of the switch EXPANDWRT_DENOM.


EXPANDWRT_DENOM[FALSE] controls the treatment of rational expressions by
    EXPANDWRT.  If TRUE, then both the numerator and denominator  of the
    expression will be expanded according to the arguments of EXPANDWRT,
    but if  EXPANDWRT_DENOM is  FALSE, then only  the numerator  will be
    expanded in that way.


EXPANDWRT_FACTORED(exp, var1, var2, ..., varN) is similar  to EXPANDWRT,
    but  treats  expressions  that  are  products  somewhat differently.
    EXPANDWRT_FACTORED will perform the required expansion only on those
    factors of exp  that contain the variables  in the argument  list of
    EXPANDWRT_FACTORED.