C# Class TheMatrix.Utilities

ファイルを表示 Open project: EFanZh/EFanZh

Public Methods

Method Description
GetRandomCharacter ( ) : char
GetRandomDouble ( double min, double max ) : double
Probability ( double p ) : bool
RoundToInt ( double x ) : int

Private Methods

Method Description
Utilities ( ) : System

Method Details

GetRandomCharacter() public static method

public static GetRandomCharacter ( ) : char
return char

GetRandomDouble() public static method

public static GetRandomDouble ( double min, double max ) : double
min double
max double
return double

Probability() public static method

public static Probability ( double p ) : bool
p double
return bool

RoundToInt() public static method

public static RoundToInt ( double x ) : int
x double
return int