Package: math
- File: math.vhdl
Functions
- squareNumber (N : natural) return natural
- cubicNumber (N : natural) return natural
- triangularNumber (N : natural) return natural
- binomialCoefficient (N : positive;
K : positive) return positive
Description
coefficients
binomial coefficient (N choose K)
- greatestCommonDivisor (N1 : positive;
N2 : positive) return positive
Description
greatest common divisor (gcd)
- leastCommonMultiple (N1 : positive;
N2 : positive) return positive
Description
least common multiple (lcm)