Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Phpml\Math\Statistic\Gaussian Class Reference

Public Member Functions

 __construct (float $mean, float $std)
 
 pdf (float $value)
 Returns probability density of the given $value
 

Static Public Member Functions

static distributionPdf (float $mean, float $std, float $value)
 Returns probability density value of the given $value based on given standard deviation and the mean.
 

Protected Attributes

float $mean
 
float $std
 

Member Function Documentation

◆ pdf()

Phpml\Math\Statistic\Gaussian::pdf ( float $value)

Returns probability density of the given $value

Return values
float|int

The documentation for this class was generated from the following file: