pmath - Parametric versions of standard functions

exp Return e raised to the power of x.
log Return the logarithm of x to the given base.
log10 Return the base 10 logarithm of x.
sqrt Return the square root of x.
sin Return the sine of x (measured in radians).
cos Return the cosine of x (measured in radians).
tan Return the tangent of x (measured in radians).
asin Return the arc sine (measured in radians) of x.
acos Return the arc cosine (measured in radians) of x.
atan Return the arc tangent (measured in radians) of x.
atan2 Return the arc tangent (measured in radians) of y/x.
sind Return the sine of x (measured in in degrees).
cosd Return the cosine of x (measured in in degrees).
tand Return the tangent of x (measured in in degrees).
asind Return the arc sine (measured in in degrees) of x.
acosd Return the arc cosine (measured in in degrees) of x.
atand Return the arc tangent (measured in in degrees) of x.
atan2d Return the arc tangent (measured in in degrees) of y/x.
sinh Return the hyperbolic sine of x.
cosh Return the hyperbolic cosine of x.
tanh Return the hyperbolic tangent of x.
degrees Convert angle x from radians to degrees.
radians Convert angle x from degrees to radians.
sum Return the sum of a sequence of numbers (NOT strings) plus the value of parameter ‘start’ (which defaults to 0).
prod Return the product of a sequence of numbers.

Standard math functions for parameter expressions.

bumps.pmath.exp(x)

Return e raised to the power of x.

bumps.pmath.log(x[, base])

Return the logarithm of x to the given base. If the base not specified, returns the natural logarithm (base e) of x.

bumps.pmath.log10(x)

Return the base 10 logarithm of x.

bumps.pmath.sqrt(x)

Return the square root of x.

bumps.pmath.sin(x)

Return the sine of x (measured in radians).

bumps.pmath.cos(x)

Return the cosine of x (measured in radians).

bumps.pmath.tan(x)

Return the tangent of x (measured in radians).

bumps.pmath.asin(x)

Return the arc sine (measured in radians) of x.

bumps.pmath.acos(x)

Return the arc cosine (measured in radians) of x.

bumps.pmath.atan(x)

Return the arc tangent (measured in radians) of x.

bumps.pmath.atan2(y, x)

Return the arc tangent (measured in radians) of y/x. Unlike atan(y/x), the signs of both x and y are considered.

bumps.pmath.sind(*args, **kw)

Return the sine of x (measured in in degrees).

bumps.pmath.cosd(*args, **kw)

Return the cosine of x (measured in in degrees).

bumps.pmath.tand(*args, **kw)

Return the tangent of x (measured in in degrees).

bumps.pmath.asind(*args, **kw)

Return the arc sine (measured in in degrees) of x.

bumps.pmath.acosd(*args, **kw)

Return the arc cosine (measured in in degrees) of x.

bumps.pmath.atand(*args, **kw)

Return the arc tangent (measured in in degrees) of x.

bumps.pmath.atan2d(*args, **kw)

Return the arc tangent (measured in in degrees) of y/x. Unlike atan(y/x), the signs of both x and y are considered.

bumps.pmath.sinh(x)

Return the hyperbolic sine of x.

bumps.pmath.cosh(x)

Return the hyperbolic cosine of x.

bumps.pmath.tanh(x)

Return the hyperbolic tangent of x.

bumps.pmath.degrees(x)

Convert angle x from radians to degrees.

bumps.pmath.radians(x)

Convert angle x from degrees to radians.

bumps.pmath.sum(sequence[, start]) → value

Return the sum of a sequence of numbers (NOT strings) plus the value of parameter ‘start’ (which defaults to 0). When the sequence is empty, return start.

bumps.pmath.prod(*args, **kw)

Return the product of a sequence of numbers.