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, for example trigonometry and exponentiation, etc.

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

  1. "C math library".
  2. "java maths library".
  3. "haskell prelude maths".
  4. "haskell prelude".


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