Interface IRandomDoubleProvider
Interface for all random double providers.
Namespace: SpiceSharpParser.Common.Mathematics.Probability
Assembly: SpiceSharpParser.dll
Syntax
public interface IRandomDoubleProvider
Methods
| Improve this Doc View SourceNextDouble()
Computes new random double in range (0, 1).
Declaration
double NextDouble()
Returns
Type | Description |
---|---|
System.Double | Random double in range (0, 1). |
NextSignedDouble()
Computes new random double in range (-1, 1).
Declaration
double NextSignedDouble()
Returns
Type | Description |
---|---|
System.Double | Random double in range (-1, 1). |