Class MathFunctions
- Namespace
- SignalSharp.Utilities
- Assembly
- SignalSharp.dll
Provides a set of mathematical functions for numerical data processing.
public static class MathFunctions
- Inheritance
-
MathFunctions
- Inherited Members
Methods
Factorial(int)
Calculates the factorial of a non-negative integer.
public static int Factorial(int n)
Parameters
n
intThe non-negative integer.
Returns
- int
The factorial of the integer.
Factorial(BigInteger)
Calculates the factorial of a non-negative integer.
public static BigInteger Factorial(BigInteger n)
Parameters
n
BigIntegerThe non-negative integer.
Returns
- BigInteger
The factorial of the integer.