# Bumps 0.7.14 documentation

## 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.
`asinh` | Return the inverse hyperbolic sine of x.
`acosh` | Return the inverse hyperbolic cosine of x.
`atanh` | Return the inverse 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 ‘start’ value (default: 0) plus an iterable of numbers
`prod` | Return the product of a sequence of numbers.

Standard math functions for parameter expressions.

`bumps.pmath.``exp`(*args, **kw)

  Return e raised to the power of x.

`bumps.pmath.``log`(x[, base=math.e])

  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`(*args, **kw)

  Return the base 10 logarithm of x.

`bumps.pmath.``sqrt`(*args, **kw)

  Return the square root of x.

`bumps.pmath.``sin`(*args, **kw)

  Return the sine of x (measured in radians).

`bumps.pmath.``cos`(*args, **kw)

  Return the cosine of x (measured in radians).

`bumps.pmath.``tan`(*args, **kw)

  Return the tangent of x (measured in radians).

`bumps.pmath.``asin`(*args, **kw)

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

`bumps.pmath.``acos`(*args, **kw)

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

`bumps.pmath.``atan`(*args, **kw)

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

`bumps.pmath.``atan2`(*args, **kw)

  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`(*args, **kw)

  Return the hyperbolic sine of x.

`bumps.pmath.``cosh`(*args, **kw)

  Return the hyperbolic cosine of x.

`bumps.pmath.``tanh`(*args, **kw)

  Return the hyperbolic tangent of x.

`bumps.pmath.``asinh`(*args, **kw)

  Return the inverse hyperbolic sine of x.

`bumps.pmath.``acosh`(*args, **kw)

  Return the inverse hyperbolic cosine of x.

`bumps.pmath.``atanh`(*args, **kw)

  Return the inverse hyperbolic tangent of x.

`bumps.pmath.``degrees`(*args, **kw)

  Convert angle x from radians to degrees.

`bumps.pmath.``radians`(*args, **kw)

  Convert angle x from degrees to radians.

`bumps.pmath.``sum`(*args, **kw)

  Return the sum of a ‘start’ value (default: 0) plus an iterable of numbers

  When the iterable is empty, return the start value. This function is intended specifically for use with numeric values and may reject non-numeric types.

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

  Return the product of a sequence of numbers.