HORN
executes an Horner scheme. The syntax is:
stk2: P stk1: r -> 3: P div (X-r), 2: r, 1: P(r) Ex: 'X^2+2*X+3' 5 -> 'X+7' 5 38This means that X2+2*X+3=(X+7)(X-5)+38.
PTAYL
: fast Taylor development for polynomials:
2: P(X), 1: r -> P(X-r)
'X^3+2*X' 2 PTAYL -> 'X^3+6*X^2+14*X+12'
LEGENDRE
[resp. HERMITE
and TCHEB
]:
given an integer n, returns
the n-th degree Legendre [resp. Hermite and Tchebycheff] polynomial.
PFEXEC
: execute the program at level 1
in subexpressions between all + and - of the symbolic expression
at level 2. For example, try:
'1/2/(X^2-1)+1/4/(X^2-4)' << COLC >> PFEXEC
XPRG
: explodes a program on the stack or creates a program
with stack level 1 components.
tEVAL
(other
directory):
evaluate object 1 and returns the time it tooks
to evaluate it. Not as accurate as TIM
of the hacker library.
LATEX
: converts a symbolic to a string, the LATEX traduction of the symbolic. To tex
it on a computer, you must
include the string in a math. environment (in $ $
or
in \[ \]
or in an equation
environment,
and you must include the file hp48.tex
).