Math library

From Wikipedia, the free encyclopedia

In computer science, a math library (or maths library) is a component of a programming language's standard library containing functions (or subroutines) for the most common mathematical functions, such as trigonometry and exponentiation. Bit-twiddling and control functionalities related to floating point numbers may also be included (such as in C).

Examples include:

In some languages (such as haskell) parts of the standard library (including maths) are imported by default.[4]

More advanced functionality such as linear algebra is usually provided in 3rd party libraries, such as a linear algebra library or vector maths library.

Basic operations

See also

References

Related Articles

Wikiwand AI