/jmathematics

A java mathematics module

Primary LanguageJavaMIT LicenseMIT

jmathematics

Status of the project

  • Work in progress.

Topics :


Algebra :


Geometry :

  • Line
  • Triangle
  • Rectangle
  • Square
  • Rhombus
  • Parallelogram
  • Trapezoid
  • Pentagram
  • Hexagram
  • Circle

Algorithms :

  • Euclidean algorithm
  • Extended Euclidean algorithm
  • Bezout coefficients
  • Heron
  • Pythagoras

Approximations :

  • Stirling

Functions :

  • Min, Max, Abs
  • Euclidean, Manhattan norms
  • Euler totient

Modular :

  • Common residue, least residue, congruence, equivalence classes
  • Addition, subtraction, multiplication, exponentiation (multiply-reduce, square-multiply)
  • Log (first discrete log)
  • CRT

Primes :

  • PNT(Prime number theorem approx)
  • Primality & compositeness (Trial-division, Fermat, Miller-Rabin)

Paradox :

  • Birthday paradox