FORM
4.1
|
#include "form3.h"
Go to the source code of this file.
Data Structures | |
struct | ARGBUFFER |
Functions | |
WORD | RatioFind (PHEAD WORD *term, WORD *params) |
WORD | RatioGen (PHEAD WORD *term, WORD *params, WORD num, WORD level) |
WORD | BinomGen (PHEAD WORD *term, WORD level, WORD **tstops, WORD x1, WORD x2, WORD pow1, WORD pow2, WORD sign, UWORD *coef, WORD ncoef) |
WORD | DoSumF1 (PHEAD WORD *term, WORD *params, WORD replac, WORD level) |
WORD | Glue (PHEAD WORD *term1, WORD *term2, WORD *sub, WORD insert) |
WORD | DoSumF2 (PHEAD WORD *term, WORD *params, WORD replac, WORD level) |
int | GCDfunction (PHEAD WORD *term, WORD level) |
WORD * | GCDfunction3 (PHEAD WORD *in1, WORD *in2) |
WORD * | PutExtraSymbols (PHEAD WORD *in, WORD startebuf, int *actionflag) |
WORD * | TakeExtraSymbols (PHEAD WORD *in, WORD startebuf) |
WORD * | MultiplyWithTerm (PHEAD WORD *in, WORD *term) |
WORD * | TakeContent (PHEAD WORD *in, WORD *term) |
int | MergeSymbolLists (PHEAD WORD *old, WORD *extra, int par) |
int | MergeDotproductLists (PHEAD WORD *old, WORD *extra, int par) |
WORD * | CreateExpression (PHEAD WORD nexp) |
int | GCDterms (PHEAD WORD *term1, WORD *term2, WORD *termout) |
int | DIVfunction (PHEAD WORD *term, WORD level, int par) |
WORD * | ConvertArgument (PHEAD WORD *arg, int *type) |
Variables | |
WORD | divrem [3] = { DIVFUNCTION, REMFUNCTION, INVERSEFUNCTION } |
A variety of routines: The ratio command for partial fractioning (rather old. Schoonschip inheritance) The sum routines.
Definition in file ratio.c.
WORD* TakeContent | ( | PHEAD WORD * | in, |
WORD * | term | ||
) |
Implements part of the old ExecArg in which we take common factors from arguments with more than one term. The common pieces are put in argout as a sequence of arguments. The part with the multiple terms that are now relative prime is put in argfree which is allocated via TermMalloc and is given as the return value. The difference with the old code is that negative powers are always removed. Hence it is as in MakeInteger in which only numerators will be left: now only zero or positive powers will be remaining.
Definition at line 1316 of file ratio.c.
References EndSort(), Generator(), GetModInverses(), LowerSortLevel(), NewSort(), and PHEAD.