Skip to main content

Fortran RNG for Python3

Project description

FortranRNG

Fortran RNG for Python3

PyPi Installation

python3 -m pip install FortranRNG

Source Installation

python3 -m pip install ./FortranRNG

FortranRNG Python Interface

  • Boolean Generator
    • FortranRNG.percent_true(percent: float) -> bool(int)
  • Integer Generators
    • FortranRNG.random_below(limit: int) -> int
    • FortranRNG.random_integer(low: int, high: int) -> int
    • FortranRNG.random_range(start: int, stop: int, step: int) -> int
    • FortranRNG.d(sides: int) -> int
    • FortranRNG.dice(rolls: int, sides: int) -> int
    • FortranRNG.plus_or_minus(amount: int) -> int
    • FortranRNG.plus_or_minus_linear(amount: int) -> int
  • Float Generators
    • FortranRNG.canonical() -> float
    • FortranRNG.random_float(low, high) -> float
    • FortranRNG.triangular(low: float, high: float, mode: float) -> float
  • ZeroCool Index Generators
    • FortranRNG.random_index(limit) -> int
    • FortranRNG.front_linear(limit) -> int
    • FortranRNG.middle_linear(limit) -> int
    • FortranRNG.back_linear(limit) -> int
    • FortranRNG.quantum_linear(limit) -> int

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FortranRNG-1.1.3.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

FortranRNG-1.1.3-cp37-cp37m-macosx_10_9_x86_64.whl (19.6 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page