PrimeNumberMath Type

Constructors

Constructor Description

PrimeNumberMath()

Full Usage: PrimeNumberMath()

Static members

Static member Description

PrimeNumberMath.GetAllDivisors(x)

Full Usage: PrimeNumberMath.GetAllDivisors(x)

Parameters:
    x : int64

Returns: IEnumerable<int>

x : int64
Returns: IEnumerable<int>

PrimeNumberMath.GetAllDivisors(primeFactors)

Full Usage: PrimeNumberMath.GetAllDivisors(primeFactors)

Parameters:
Returns: IEnumerable<int>

primeFactors : IList<PrimeFactor>
Returns: IEnumerable<int>

PrimeNumberMath.GetNeighbouringDivisors(nominator, searchCenter, searchMaximum)

Full Usage: PrimeNumberMath.GetNeighbouringDivisors(nominator, searchCenter, searchMaximum)

Parameters:
    nominator : int64
    searchCenter : int64
    searchMaximum : int64

Returns: List<int>

nominator : int64
searchCenter : int64
searchMaximum : int64
Returns: List<int>

PrimeNumberMath.GetNumberFromPrimeFactors(list)

Full Usage: PrimeNumberMath.GetNumberFromPrimeFactors(list)

Parameters:
Returns: int64

list : List<PrimeFactor>
Returns: int64

PrimeNumberMath.IsPrime(x)

Full Usage: PrimeNumberMath.IsPrime(x)

Parameters:
    x : int64

Returns: bool

x : int64
Returns: bool

PrimeNumberMath.LeastCommonMultiple(x, y)

Full Usage: PrimeNumberMath.LeastCommonMultiple(x, y)

Parameters:
    x : int64 - First number.
    y : int64 - Second number.

Returns: int64 Least common multiple of the two numbers x and y.

Gets the least common multiple of the two numbers x and y.

x : int64

First number.

y : int64

Second number.

Returns: int64

Least common multiple of the two numbers x and y.

PrimeNumberMath.MaximumSupportedPrimeNumber

Full Usage: PrimeNumberMath.MaximumSupportedPrimeNumber

Returns: int

Returns: int

PrimeNumberMath.PrimeFactorization(x)

Full Usage: PrimeNumberMath.PrimeFactorization(x)

Parameters:
    x : int64

Returns: List<PrimeFactor>

x : int64
Returns: List<PrimeFactor>