random.setstate()
  • References/Python/Python/Numeric & Mathematical

random.setstate(state) state should have been obtained from a previous call to getstate(), and setstate()

2025-01-10 15:47:30
random.sample()
  • References/Python/Python/Numeric & Mathematical

random.sample(population, k) Return a k length list of unique elements chosen from the population sequence or set.

2025-01-10 15:47:30
decimal.Decimal.exp()
  • References/Python/Python/Numeric & Mathematical

exp(context=None) Return the value of the (natural) exponential function e**x at the given number. The result is

2025-01-10 15:47:30
math.expm1()
  • References/Python/Python/Numeric & Mathematical

math.expm1(x) Return e**x - 1. For small floats x, the subtraction in exp(x) - 1 can result

2025-01-10 15:47:30
numbers.Rational.numerator
  • References/Python/Python/Numeric & Mathematical

numerator Abstract.

2025-01-10 15:47:30
decimal.Decimal.next_toward()
  • References/Python/Python/Numeric & Mathematical

next_toward(other, context=None) If the two operands are unequal, return the number closest to the first operand in the direction

2025-01-10 15:47:30
cmath.isnan()
  • References/Python/Python/Numeric & Mathematical

cmath.isnan(x) Return True if either the real or the imaginary part of x is a NaN, and False

2025-01-10 15:47:30
math.degrees()
  • References/Python/Python/Numeric & Mathematical

math.degrees(x) Convert angle x from radians to degrees.

2025-01-10 15:47:30
random.lognormvariate()
  • References/Python/Python/Numeric & Mathematical

random.lognormvariate(mu, sigma) Log normal distribution. If you take the natural logarithm of this distribution, you’ll get

2025-01-10 15:47:30
math.isfinite()
  • References/Python/Python/Numeric & Mathematical

math.isfinite(x) Return True if x is neither an infinity nor a NaN, and False otherwise.

2025-01-10 15:47:30