Module rusfun::standard[][src]

Expand description

Standard functions such as linear, parabola, exponential,… using ndarray

Functions

cos

Cosine function p = [A, b, c] f(x) = Acos(bx - c)

exp

Exponential function p = [A, b] f(x) = Aexp(bx)

linear

Linear function p = [a, b] f(x) = a*x + b

parabola

Quadratic function p = [a, b, c] f(x) = ax^2 + bx + c

sin

Sine function p = [A, b, c] f(x) = Asin(bx - c)

sqrt

Square-root function p = [A, b, c] f(x) = Asqrt(bx - c)

tan

Tan function p = [A, b, c] f(x) = Atan(bx - c)

zero

Zero function p = [] f(x) = 0