The following is a complete list of the default functions which are built into Pyxplot. Except where stated otherwise, functions may be assumed to expect numerical arguments. Where arguments are represented by the letter x
z
z
The abs(z
z
z
z
airy_ai_diff(z
The airy_ai_diff(z
z
z
airy_bi_diff(z
The airy_bi_diff(z
z
z
atan2(x,y
The atan2(x,y
x/y
y/x
x,y
x
y
(1,1)
(-1,-1)
x
y
besseli(l,x
The besseli(l,x
l
x
l
x
besselI(l,x
The besselI(l,x
l
x
l
x
besselj(l,x
The besselj(l,x
l
x
l
x
besselJ(l,x
The besselJ(l,x
l
x
l
x
besselk(l,x
The besselk(l,x
l
x
l
x
besselK(l,x
The besselK(l,x
l
x
l
x
bessely(l,x
The bessely(l,x
l
x
l
x
besselY(l,x
The besselY(l,x
l
x
l
x
cmp(a,b
The cmp(a,b
1
a>b
-1
a<b
a=b
diff_dx(e,x,step
The diff_dx(e,x,step
e
a
x
step
e
x
10^-6
x^2
x
ellipticintE(k
The ellipticintE(k
ellipticintK(k
The ellipticintK(k
ellipticintP(k,n
The ellipticintP(k,n
gcd(...)
The gcd(...) function returns the greatest common divisor (a.k.a. highest common factor) of its arguments, which should be dimensionless non-zero positive integers.
globals()
The globals() function returns a dictionary of all currently-defined global variables.
hcf(...)
The hcf(...) function returns the highest common factor (a.k.a. greatest common divisor) of its arguments, which should be dimensionless non-zero positive integers.
heaviside(x
The heaviside(x
x≥0
x
hyperg_0F1(c,x
The hyperg_0F1(c,x
_0F_1(c,x)
hyperg_1F1(a,b,x
The hyperg_1F1(a,b,x
_1F_1(a,b,x)
hyperg_2F0(a,b,x
The hyperg_2F0(a,b,x
_2F_0(a,b,x)
hyperg_2F1(a,b,c,x
The hyperg_2F1(a,b,c,x
_2F_1(a,b,c,x)
|x|<1
hyperg_U(a,b,x
The hyperg_U(a,b,x
U(a,b,x)
hypot(...)
The hypot(...) function returns the quadrature sum of its arguments, x^2+y^2+…
int_dx(e,min,max
The int_dx(e,min,max
e
x
min
max
e
min
max
x^2
x
1
2
jacobi_cn(u,m
The jacobi_cn(u,m
φ
φ
jacobi_dn(u,m
The jacobi_dn(u,m
1-m^2θ
φ
jacobi_sn(u,m
The jacobi_sn(u,m
φ
φ
lambert_W0(x
The lambert_W0(x
W>-1
x<0
lambert_W1(x
The lambert_W1(x
W<-1
x<0
lcm(...)
The lcm(...) function returns the lowest common multiple of its arguments, which should be dimensionless positive integers.
legendreP(l,x
The legendreP(l,x
l
x
l
x
legendreQ(l,x
The legendreQ(l,x
l
x
l
x
locals()
The locals() function returns a dictionary of all currently-defined local variables in the present scope.
lrange([f
l
s
The lrange([f
l
s
f
l
s
f=1
s=2
f
l
f
l
s
matrix(...)
The matrix(...) function creates a new matrix object. See types.matrix.
max(...)
The max(...) function returns the highest-valued of its arguments, which may be of any object type and may have any physical dimensions, so long as they match. If either input is complex, the input with the larger magnitude is returned. If a single vector or list object is supplied, the highest-valued item in the vector or list is returned.
min(...)
The min(...) function returns the lowest-valued of its arguments, where may be of any object type and may have any physical dimensions, so long as they match. If either input is complex, the input with the smaller magnitude is returned. If a single vector or list object is supplied, the lowest-valued item in the vector or list is returned.
module(...)
The module(...) function creates a new module object. See types.module.
primeFactors(x
The primeFactors(x
x
range([f
l
s
The range([f
l
s
f
l
s
f=0
s=1
f
l
romanNumeral(x
The romanNumeral(x
x
root(z,n
The root(z,n
n
z
z
n
z
z
1/n
n
sum(...)
The sum(...) function returns the sum of its arguments, which be of any object type, and may have any physical units, so long as it is possible to add them together.
tophat(x,σ
The tophat(x,σ
|x| ≤|σ|
unit(…)
The unit(…) function multiplies a number by a physical unit. The string inside the brackets should consist of a string of the names of physical units, multiplied together with the * operator, divided using the / operator, or raised by numeric powers using the ^ operator. The list may be commenced with a numeric constant, for example: unit(2*m^2/s).
vector(...)
The vector(...) function creates a new vector object. See types.vector.
zernike(n,m,r,φ
The zernike(n,m,r,φ
Z^m_n(r,φ)
m
n
n≥m
r
0<r<1
φ