Get Prime number for the given rank (max 255)
Namespace:
Hyleos.MathematicAssembly: Hyleos.Mathematic (in Hyleos.Mathematic.dll) Version: 1.0.1.1 (1.0.1.1)
Syntax
| C# |
|---|
public static int PrimeNumber( int rank ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function PrimeNumber ( _ rank As Integer _ ) As Integer |
| Visual C++ |
|---|
public: static int PrimeNumber( int rank ) |
Parameters
- rank
- Type: System..::.Int32
Prime number rank's
Return Value
Prime number
Remarks
if given rank is greater than 255 it returns 1