Contains methods that compute advanced functions of integer arguments.
Namespace: Meta.Numerics.FunctionsAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public static class AdvancedIntegerMath
Public NotInheritable Class AdvancedIntegerMath
public ref class AdvancedIntegerMath abstract sealed
[<AbstractClassAttribute>] [<SealedAttribute>] type AdvancedIntegerMath = class end
Members
| All Members | Methods |
| Member | Description | |
|---|---|---|
| BinomialCoefficient(Int32, Int32) |
Computes a binomial coefficient.
| |
| BinomialCoefficients(Int32) |
Enumerates the binomial coefficients of a given order.
| |
| DoubleFactorial(Int32) |
Computes the double factorial of the given integer.
| |
| Factorial(Int32) |
Computes the factorial of an integer.
| |
| GCF(Int64, Int64) |
Computes the greatest common factor of two integers.
| |
| HarmonicNumber(Int32) |
Computes the given harmonic number.
| |
| IsPrime(Int32) |
Determines whether the given integer is prime.
| |
| LCM(Int64, Int64) |
Computes the least common multiple of two integers.
| |
| LogDoubleFactorial(Int32) |
Computes the natural logarithm of the double factorial of the given number.
| |
| LogFactorial(Int32) |
Computes the logrithm of the factorial of an integer.
| |
| Partitions(Int32) |
Enumerates all partitions of the given integer
| |
| PowMod(Int32, Int32, Int32) |
Computes a power of an integer in modular arithmetic.
|