A C function that generates a random integer array and calculates either Variance or Standard Deviation based on a control parameter (1 for Variance, 0 for Std Dev).
-
Updated
Jan 16, 2026 - C
A C function that generates a random integer array and calculates either Variance or Standard Deviation based on a control parameter (1 for Variance, 0 for Std Dev).
A C program that calculates the Least Common Multiple (LCM/EKOK) of two integers. It uses an iterative algorithm that checks multiples of the larger number.
A C-based mathematical utility that implements the power function ($base^n$) using an iterative multiplication loop, avoiding external math library dependencies.
A C program that calculates mathematical combinations C(n, r). It implements a helper factorial function to solve the formula n! / (r! * (n-r)!).
A C function that takes an integer input and finds the nearest largest prime number strictly less than that integer by iterating downwards.
Add a description, image, and links to the math-algorithms topic page so that developers can more easily learn about it.
To associate your repository with the math-algorithms topic, visit your repo's landing page and select "manage topics."