Fix documentation for Maxwell distribution pdf

This commit is contained in:
Paul Romano 2020-12-08 06:43:31 -06:00
parent 4d4ff83c22
commit cb22fe7c5d
2 changed files with 4 additions and 4 deletions

View file

@ -71,7 +71,7 @@ private:
};
//==============================================================================
//! Maxwellian distribution of form c*E*exp(-E/theta)
//! Maxwellian distribution of form c*sqrt(E)*exp(-E/theta)
//==============================================================================
class Maxwell : public Distribution {

View file

@ -244,11 +244,11 @@ class Uniform(Univariate):
class Maxwell(Univariate):
"""Maxwellian distribution in energy.
r"""Maxwellian distribution in energy.
The Maxwellian distribution in energy is characterized by a single parameter
:math:`\theta` and has a density function :math:`p(E) dE = c E e^{-E/\theta}
dE`.
:math:`\theta` and has a density function :math:`p(E) dE = c \sqrt{E}
e^{-E/\theta} dE`.
Parameters
----------