PHP Class DataType_NormalDistribution, generatedata

Author: Ben Keen ([email protected])
Inheritance: extends DataTypePlugin
ファイルを表示 Open project: benkeen/generatedata

Protected Properties

Property Type Description
$dataTypeFieldGroup
$dataTypeFieldGroupOrder
$dataTypeName
$isEnabled
$jsModules
$randMax

Public Methods

Method Description
gauss ( )
gauss_ms ( $mean, $stddev )
generate ( $generator, $generationContextData )
getDataTypeMetadata ( )
getOptionsColumnHTML ( )
getRowGenerationOptionsAPI ( $generator, $json, $numCols )
getRowGenerationOptionsUI ( $generator, $postdata, $colNum, $numCols )
random_0_1 ( )
random_PN ( ) returns random number using mt_rand() with a flat distribution from -1 to 1 inclusive

Method Details

gauss() public method

public gauss ( )

gauss_ms() public method

public gauss_ms ( $mean, $stddev )

generate() public method

public generate ( $generator, $generationContextData )

getDataTypeMetadata() public method

public getDataTypeMetadata ( )

getOptionsColumnHTML() public method

getRowGenerationOptionsAPI() public method

public getRowGenerationOptionsAPI ( $generator, $json, $numCols )

getRowGenerationOptionsUI() public method

public getRowGenerationOptionsUI ( $generator, $postdata, $colNum, $numCols )

random_0_1() public method

public random_0_1 ( )

random_PN() public method

returns random number using mt_rand() with a flat distribution from -1 to 1 inclusive
public random_PN ( )

Property Details

$dataTypeFieldGroup protected_oe property

protected $dataTypeFieldGroup

$dataTypeFieldGroupOrder protected_oe property

protected $dataTypeFieldGroupOrder

$dataTypeName protected_oe property

protected $dataTypeName

$isEnabled protected_oe property

protected $isEnabled

$jsModules protected_oe property

protected $jsModules

$randMax protected_oe property

protected $randMax