Math library

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.

Examples include:

  • the C standard library math functions,[1]
  • Java maths library[2]
  • 'Prelude.Math' in haskell.[3]

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.

See also

References


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.