pmath - Parametric versions of standard functions¶
Return e raised to the power of x. |
|
Return the logarithm of x to the given base. |
|
Return the base 10 logarithm of x. |
|
Return the square root of x. |
|
Return the sine of x (measured in radians). |
|
Return the cosine of x (measured in radians). |
|
Return the tangent of x (measured in radians). |
|
Return the arc sine (measured in radians) of x. |
|
Return the arc cosine (measured in radians) of x. |
|
Return the arc tangent (measured in radians) of x. |
|
Return the arc tangent (measured in radians) of y/x. |
|
Return the sine of x (measured in in degrees). |
|
Return the cosine of x (measured in in degrees). |
|
Return the tangent of x (measured in in degrees). |
|
Return the arc sine (measured in in degrees) of x. |
|
Return the arc cosine (measured in in degrees) of x. |
|
Return the arc tangent (measured in in degrees) of x. |
|
Return the arc tangent (measured in in degrees) of y/x. |
|
Return the hyperbolic sine of x. |
|
Return the hyperbolic cosine of x. |
|
Return the hyperbolic tangent of x. |
|
Return the inverse hyperbolic sine of x. |
|
Return the inverse hyperbolic cosine of x. |
|
Return the inverse hyperbolic tangent of x. |
|
Convert angle x from radians to degrees. |
|
Convert angle x from degrees to radians. |
|
Return the sum of a 'start' value (default: 0) plus an iterable of numbers |
|
Return the product of a sequence of numbers. |
Standard math functions for parameter expressions.
- bumps.pmath.acos(*args, **kw)¶
Return the arc cosine (measured in radians) of x.
The result is between 0 and pi.
- bumps.pmath.acosh(*args, **kw)¶
Return the inverse hyperbolic cosine of x.
- bumps.pmath.asin(*args, **kw)¶
Return the arc sine (measured in radians) of x.
The result is between -pi/2 and pi/2.
- bumps.pmath.asinh(*args, **kw)¶
Return the inverse hyperbolic sine of x.
- bumps.pmath.atan(*args, **kw)¶
Return the arc tangent (measured in radians) of x.
The result is between -pi/2 and pi/2.
- 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.atan2d(*args, **kw)[source]¶
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.atanh(*args, **kw)¶
Return the inverse hyperbolic tangent of x.
- bumps.pmath.cos(*args, **kw)¶
Return the cosine of x (measured in radians).
- bumps.pmath.cosh(*args, **kw)¶
Return the hyperbolic cosine of x.
- bumps.pmath.degrees(*args, **kw)¶
Convert angle x from radians to degrees.
- 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.prod(*args, **kw)¶
Return the product of a sequence of numbers.
- bumps.pmath.radians(*args, **kw)¶
Convert angle x from degrees to radians.
- bumps.pmath.sin(*args, **kw)¶
Return the sine of x (measured in radians).
- bumps.pmath.sinh(*args, **kw)¶
Return the hyperbolic sine of x.
- bumps.pmath.sqrt(*args, **kw)¶
Return the square root of x.
- 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.tan(*args, **kw)¶
Return the tangent of x (measured in radians).
- bumps.pmath.tanh(*args, **kw)¶
Return the hyperbolic tangent of x.