smpl.functions

A list of various functions.

Functions

Gauss(x, x_0, a, d, y)

gauss(x,x_0,a,d,y) = \(a e^{\frac{\left(-1\right) \left(x - x_{0}\right)^{2}}{2 d^{2}}} + y\)

const(x, m)

const(x) = \(m\)

cos(x, a, f, phi)

cos(x,a,f,phi) = \(a \cos{\left(2 \pi f \left(- \phi + x\right) \right)}\)

cos_abs(x, a, f, phi)

cos_abs(x,a,f,phi) = \(a \left|{\cos{\left(2 \pi f \left(- \phi + x\right) \right)}}\right|\)

cube(x, a, b, c, d)

cube(x,a,b,c,d) = \(a x^{3} + b x^{2} + c x + d\)

exp(x, c, y_0)

exponential(x,c,y_0) = \(y_{0} e^{c x}\)

exponential(x, c, y_0)

exponential(x,c,y_0) = \(y_{0} e^{c x}\)

fac(n)

Fac(x)

gauss(x, x_0, a, d, y)

gauss(x,x_0,a,d,y) = \(a e^{\frac{\left(-1\right) \left(x - x_{0}\right)^{2}}{2 d^{2}}} + y\)

line(x, a, b)

line(x,a,b) = \(a x + b\)

linear(x, m)

linear(x,m) = \(m x\)

log(x, c, y_0)

log(x,c,y_0) = \(y_{0} \log{\left(c x \right)}\)

lorentz(x, x_0, a, d, y)

lorentz(x,x_0,a,d,y) = \(\frac{a}{\pi d \left(1 + \frac{\left(x - x_{0}\right)^{2}}{d^{2}}\right)} + y\)

order(x, a, k, y)

order(x,a,k,y) = \(a x^{k} + y\)

sin(x, a, f, phi)

sin(x,a,f,phi) = \(a \sin{\left(2 \pi f \left(- \phi + x\right) \right)}\)

sqrt(x, a, b, c)

sqrt(x,a,b,c) = \(a \sqrt{b + x} + c\)

square(x, x_0, a, y)

square(x,x_0,a,y) = \(a \left(x - x_{0}\right)^{2} + y\)

tan(x, a, f, phi)

tan(x,a,f,phi) = \(a \tan{\left(2 \pi f \left(- \phi + x\right) \right)}\)