Top Qs
Timeline
Chat
Perspective

Computational complexity of mathematical operations

Algorithmic runtime requirements for common math procedures From Wikipedia, the free encyclopedia

Computational complexity of mathematical operations
Remove ads
Remove ads

The following tables list the computational complexity of various algorithms for common mathematical operations.

Thumb
Graphs of functions commonly used in the analysis of algorithms, showing the number of operations versus input size for each function

Here, complexity refers to the time complexity of performing computations on a multitape Turing machine.[1] See big O notation for an explanation of the notation used.

Note: Due to the variety of multiplication algorithms, below stands in for the complexity of the chosen multiplication algorithm.

Remove ads

Arithmetic functions

Summarize
Perspective

This table lists the complexity of mathematical operations on integers.

More information Two ...

On stronger computational models, specifically a pointer machine and consequently also a unit-cost random-access machine it is possible to multiply two n-bit numbers in time O(n).[6]

Remove ads

Algebraic functions

Summarize
Perspective

Here we consider operations over polynomials and n denotes their degree; for the coefficients we use a unit-cost model, ignoring the number of bits in a number. In practice this means that we assume them to be machine integers.

More information One polynomial of degree ...
Remove ads

Special functions

Summarize
Perspective

Many of the methods in this section are given in Borwein & Borwein.[7]

Elementary functions

The elementary functions are constructed by composing arithmetic operations, the exponential function (), the natural logarithm (), trigonometric functions (), and their inverses. The complexity of an elementary function is equivalent to that of its inverse, since all elementary functions are analytic and hence invertible by means of Newton's method. In particular, if either or in the complex domain can be computed with some complexity, then that complexity is attainable for all other elementary functions.

Below, the size refers to the number of digits of precision at which the function is to be evaluated.

More information ; repeated argument reduction (e.g. ...

It is not known whether is the optimal complexity for elementary functions. The best known lower bound is the trivial bound .

Non-elementary functions

More information , ...

Mathematical constants

This table gives the complexity of computing approximations to the given constants to correct digits.

More information , ...
Remove ads

Number theory

Summarize
Perspective

Algorithms for number theoretical calculations are studied in computational number theory.

More information Two ...
Remove ads

Matrix algebra

Summarize
Perspective

The following complexity figures assume that arithmetic with individual elements has complexity O(1), as is the case with fixed-precision floating-point arithmetic or operations on a finite field.

More information Two ...

In 2005, Henry Cohn, Robert Kleinberg, Balázs Szegedy, and Chris Umans showed that either of two different conjectures would imply that the exponent of matrix multiplication is 2.[34]

Remove ads

Transforms

Algorithms for computing transforms of functions (particularly integral transforms) are widely used in all areas of mathematics, particularly analysis and signal processing.

More information Finite data sequence of size ...
Remove ads

Notes

  1. This form of sub-exponential time is valid for all . A more precise form of the complexity can be given as
Remove ads

References

Loading content...

Further reading

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads