PrimeNumberMathGetNeighbouringDivisors Method |
Gets the divisors of nominator nearest to searchCenter.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static List<int> GetNeighbouringDivisors(
long nominator,
long searchCenter,
long searchMaximum
)
Parameters
- nominator Int64
- Number for which neighboring divisors are sought.
- searchCenter Int64
- Value around which divisors are searched.
- searchMaximum Int64
- Maximum prime factor allowed when factoring nominator.
Return Value
ListInt32
A list containing up to two elements: the closest divisor less than
searchCenter
and the closest divisor greater than
searchCenter.
See Also