/usr/lib/open-axiom/input/pfr.input is in open-axiom-test 1.4.1+svn~2626-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | --Copyright The Numerical Algorithms Group Limited 1991.
)set out len 57
)time off
)clear all
partialFraction(1,factor factorial 10)
f := padicFraction %
compactFraction %
numberOfFractionalTerms f
wholePart f
t3 := nthFractionalTerm(f,3)
firstNumer t3
firstDenom t3
g := - 13 + 14 * %i
1/g
partialFraction(1,factor g)
% :: FRAC COMPLEX INT
% :: COMPLEX FRAC INT
)clear all
u : FR UP(x,FRAC INT) := reduce(*,[primeFactor(x+i,i) for i in 0..4])
partialFraction(1,u)
padicFraction %
|