Jump to content

Math library

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fmadd (talk | contribs) at 20:08, 12 February 2017. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer science, a math library (or maths library) is a library (or a 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][failed verification],
  • 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.

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