Gaussian Variables
Representation of a Gaussian variable for the use in CLG models.
class pyagrum.clg.GaussianVariable(name, mu, sigma)
Section titled “class pyagrum.clg.GaussianVariable(name, mu, sigma)”- Parameters:
- name (
str) - mu (
float) - sigma (
float)
- name (
Returns the mean of the variable.
- Returns: The mean of the variable.
- Return type: float
name()
Section titled “name()”Returns the name of the variable.
- Returns: The name of the variable.
- Return type: str
setMu(mu)
Section titled “setMu(mu)”Set the mean of the variable.
- Parameters: mu (float) – The new mean of the variable.
setSigma(sigma)
Section titled “setSigma(sigma)”Set the standard deviation of the variable.
- Parameters: sigma (float) – The new standard deviation of the variable.
sigma()
Section titled “sigma()”Returns the standard deviation of the variable.
- Returns: The standard deviation of the variable.
- Return type: float