# NumRand 1.0.1

NumRand generates random numbers from chaotic motion. Each different initial position of the algorithm yields unique results.

Install-Package NumRand -Version 1.0.1
dotnet add package NumRand --version 1.0.1
<PackageReference Include="NumRand" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.

## Documentation

NumRand instructions: http://noob.software/support/#index/app_instructions#4&

Getting Started:

To initiate the random class you need to give as input the path to a state.txt file which will store the state of the algorithm. You can change the initial conditions of the algorithm by changing the state file. The first two values are the particle position, the third value is the particle direction, the rest of the values are the phase offsets which have to be between zero and 359 (including 359). There are 13 phase offsets. The particle position must be the distance of 50 from the center point (0, 0). If the distance is greater the point is out of bounds. And the particle direction must also be between 0 and 359.

Example of state file:
-6.32383405619265;34.7622026380373;-105.878359622526;220;312;205;337;146;309;87;228;313;278;178;159;306;

Example:
random r = new random("C:\numrand\state.txt");

List values = r.get_values(0, 1000, 10); //generates 10 values between 0 and 1000

string string_value = r.get_string("100"); //no limit is set on the number of digits, returns a string with random digits.

GitHub page: https://github.com/siggi90/NumRandC-

NumRand instructions: http://noob.software/support/#index/app_instructions#4&

Getting Started:

To initiate the random class you need to give as input the path to a state.txt file which will store the state of the algorithm. You can change the initial conditions of the algorithm by changing the state file. The first two values are the particle position, the third value is the particle direction, the rest of the values are the phase offsets which have to be between zero and 359 (including 359). There are 13 phase offsets. The particle position must be the distance of 50 from the center point (0, 0). If the distance is greater the point is out of bounds. And the particle direction must also be between 0 and 359.

Example of state file:
-6.32383405619265;34.7622026380373;-105.878359622526;220;312;205;337;146;309;87;228;313;278;178;159;306;

Example:
random r = new random("C:\numrand\state.txt");

List values = r.get_values(0, 1000, 10); //generates 10 values between 0 and 1000

string string_value = r.get_string("100"); //no limit is set on the number of digits, returns a string with random digits.

GitHub page: https://github.com/siggi90/NumRandC-

bug fixed

## Dependencies

• #### .NETStandard 2.0

• No dependencies.

## Used By

### NuGet packages

This package is not used by any NuGet packages.

### GitHub repositories

This package is not used by any popular GitHub repositories.