Integer Math Class
Contains methods that perform operations on integers.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static class IntegerMath
- Inheritance
- Object → IntegerMath
Methods
Binomial | Enumerates over the binomial coefficients of a specified degree. |
Divisors( | Returns the divisors of an integer. |
Divisors( | Returns the divisors of an integer. |
Factor( | Returns the prime factors of an integer. |
Factor( | Returns the prime factors of an integer. |
Greatest | Returns the greatest common divisor of two integers. |
Greatest | Returns the greatest common divisor of two integers. |
Greatest | Returns the greatest common divisor of two integers. |
Greatest | Returns the greatest common divisor of two integers. |
Greatest | Returns the greatest common divisor of two integers. |
Greatest | Returns the greatest common divisor of two integers using the extended Euclidean algorithm. |
Greatest | Returns the greatest common divisor of two integers using the extended Euclidean algorithm. |
Greatest | Returns the greatest common divisor of two integers using the extended Euclidean algorithm. |
Greatest | Returns the greatest common divisor of two integers using the extended Euclidean algorithm. |
Greatest | Returns the greatest common divisor of two integers using the extended Euclidean algorithm. |
IsEven( | Returns whether an integer is even. |
IsEven( | Returns whether an integer is even. |
IsEven( | Returns whether an integer is even. |
IsEven( | Returns whether an integer is even. |
IsEven( | Returns whether an integer is even. |
IsOdd( | Returns whether an integer is odd. |
IsOdd( | Returns whether an integer is odd. |
IsOdd( | Returns whether an integer is odd. |
IsOdd( | Returns whether an integer is odd. |
IsOdd( | Returns whether an integer is odd. |
IsPower | Returns whether an integer is a power of two. |
IsPower | Returns whether an integer is a power of two. |
IsPower | Returns whether an integer is a power of two. |
IsPower | Returns whether an integer is a power of two. |
IsPower | Returns whether a long integer is a power of two. |
IsPower | Returns whether an unsigned integer is a power of two. |
IsPower | Returns whether an unsigned long integer is a power of two. |
IsPrime( | Returns whether an integer is a prime number. |
IsPrime( | Returns whether an integer is a prime number. |
Least | Returns the least common multiple of two integers. |
Least | Returns the least common multiple of two integers. |
Least | Returns the least common multiple of two integers. |
Least | Returns the least common multiple of two integers. |
Least | Returns the least common multiple of two integers. |
Minus | Returns -1 raised to the specified power. |
Next | Returns the first prime number following the given number. |
Previous | Returns the first prime number preceding the given number. |
Primes() | Enumerates all prime numbers less than MaxValue. |
Primes( | Enumerates all prime numbers less than the specified value.. |