This documentation is compiled for the latest release of Mathos Core Library
SystemObject
Mathos.StatisticsDiceSimulator
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Top
Top
Top
Top
Inheritance Hierarchy
Mathos.StatisticsDiceSimulator
Namespace: Mathos.Statistics
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax
The DiceSimulator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | DiceSimulator |
Constructor that takes "nDice" as the number of dice and goes upto 6 dice
|
Methods
Name | Description | |
---|---|---|
![]() | DiffDiceRoll |
Rolls the "nDice" and then subtracts them (using sequency ABS diff)
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MaxDiceRoll |
Rolls the "nDice" and then finds the maximum
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Roll |
Rolls the dice "nDiceIndex" indicates which if more than one, if only 1, then no parameter is required
|
![]() | SumDiceRoll |
Rolls the "nDice" and sums them
|
![]() | ToString | (Overrides ObjectToString.) |
Extension Methods
Name | Description | |
---|---|---|
![]() | From(Enum) | Overloaded. (Defined by Converter.) |
![]() | From(Base) | Overloaded. (Defined by Converter.) |
Properties
Name | Description | |
---|---|---|
![]() | Item |
Implementation of an indexer to retrieve any rolled dice at any time
|
See Also