The maths/ directory contains a wide range of mathematical implementations, including:
- Basic Arithmetic & Number Theory: Factorials, GCD, LCM, Prime Sieve (Eratosthenes, Segmented, Odd), and Primality Tests (Lucas Lehmer, Solovay Strassen).
- Numerical Analysis: Root-finding (Bisection, Newton Raphson, Secant, Weierstrass) and Integration (Simpson Rule, Trapezoidal Rule, Runge Kutta).
- Geometry & Trigonometry: Area, Volume, Arc Length, Euclidean/Manhattan/Chebyshev distances, and Trigonometric functions (Sin, Tanh, Sigmoid).
- Special Numbers: Armstrong, Catalan, Fibonacci, Happy, and Triangular numbers.
- Probability & Statistics: Binomial Distribution, Entropy, Geometric Mean, and Spearman Rank Correlation.
- Series: Arithmetic, Geometric, Harmonic, and P Series.
- Polynomials: Single Indeterminate Operations.
Each algorithm is implemented as a standalone Python script within the maths/ directory or its subdirectories.