Skip to content

Random System Improvements #21

Description

@ProfDru

RNG Expansion

While the changes in #16 are functional, some improvements can be made to better control the output of the random number generator, and better inform users about the properties of each distribution.

math::random

  • Unify all distributions to derive from the TMPDistribution template. There's no reason for the other distribution implementations to exist when all functionality can be handled through instantiations of TMPDistribution.
  • Add descriptions to each engine, distribution, and distribution parameter to provide users with more information about the properties of each option.

ROC

  • Add an option to wrap numbers between the ROC's minimum value and maximum value at runtime. This will ensure that every number is within the given minimum and maximum range while still somewhat retaining randomness.
  • Add an option to get the absolute value of numbers from a the ROC at runtime.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions