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 (
mu() → float
Section titled “mu() → float”Returns the mean of the variable.
- Returns: The mean of the variable.
- Return type:
float
name() → str
Section titled “name() → str”Returns the name of the variable.
- Returns: The name of the variable.
- Return type:
str
setMu(mu: float)
Section titled “setMu(mu: float)”Set the mean of the variable.
- Parameters:
mu (
float) – The new mean of the variable.
setSigma(sigma: float)
Section titled “setSigma(sigma: float)”Set the standard deviation of the variable.
- Parameters:
sigma (
float) – The new standard deviation of the variable.
sigma() → float
Section titled “sigma() → float”Returns the standard deviation of the variable.
- Returns: The standard deviation of the variable.
- Return type:
float