About 385 results
Open links in new tab
  1. math — Mathematical functions — Python 3.13.3 documentation

    3 days ago · math — Mathematical functions¶ This module provides access to the mathematical functions defined by the C standard. These functions cannot be used with complex numbers; use the functions of the same name from the cmath module …

  2. Numeric and Mathematical Modules — Python 3.13.3 …

    3 days ago · The modules described in this chapter provide numeric and math-related functions and data types. The numbers module defines an abstract hierarchy of numeric types. The math and cmath modules contain various mathematical …

  3. cmath — Mathematical functions for complex numbers - Python

    2 days ago · This module provides access to mathematical functions for complex numbers. The functions in this module accept integers, floating-point numbers or complex numbers as arguments.

  4. statistics — Mathematical statistics functions — Python 3.13.3 ...

    17 hours ago · This module provides functions for calculating mathematical statistics of numeric (Real-valued) data. The module is not intended to be a competitor to third-party libraries such as NumPy, SciPy, or proprietary full-featured statistics packages aimed at professional statisticians such as Minitab, SAS and Matlab. It is aimed at the level of ...

  5. random — Generate pseudo-random numbers — Python 3.13.3 …

    1 day ago · This module implements pseudo-random number generators for various distributions. For integers, there is uniform selection from a range. For sequences, there is uniform selection of a random element, a function to generate a random permutation of a list in-place, and a function for random sampling without replacement.

  6. 6. Modules — Python 3.13.3 documentation

    1 day ago · A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py appended. Within a module, the module’s name (as a string) is available as the value of the global variable __name__.

  7. The Python Standard Library — Python 3.13.3 documentation

    1 day ago · Numeric and Mathematical Modules. numbers — Numeric abstract base classes; math — Mathematical functions; cmath — Mathematical functions for complex numbers; decimal — Decimal fixed-point and floating-point arithmetic; fractions — Rational numbers; random — Generate pseudo-random numbers; statistics — Mathematical statistics functions

  8. Built-in Functions — Python 3.13.3 documentation

    1 day ago · Built-in Functions¶ The Python interpreter has a number of functions and types built into it that are always available. They are listed here in alphabetical order.

  9. operator — Standard operators as functions - Python

    2 days ago · The operator module exports a set of efficient functions corresponding to the intrinsic operators of Python. For example, operator.add(x, y) is equivalent to the expression x+y . Many function names are those used for special methods, without the double underscores.

  10. 10. Brief Tour of the Standard Library — Python 3.13.3 …

    The math module gives access to the underlying C library functions for floating-point math: >>> import math >>> math . cos ( math . pi / 4 ) 0.70710678118654757 >>> math . log ( 1024 , 2 ) 10.0 The random module provides tools for making random selections:

Refresh