/usr/lib/open-axiom/input/complex.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 | -- Input generated from ComplexXmpPage
)clear all
a := complex(4/3,5/2)
b := complex(4/3,-5/2)
a + b
a - b
a * b
a / b
% :: Fraction Complex Integer
3.4 + 6.7 * %i
conjugate a
norm a
real a
imag a
gcd(13 - 13*%i,31 + 27*%i)
lcm(13 - 13*%i,31 + 27*%i)
factor(13 - 13*%i)
factor complex(2,0)
|