bundles / scipy 1.17.1 / scipy / stats / _continuous_distns / triang_gen
class
scipy.stats._continuous_distns:triang_gen
Signature
class triang_gen ( momtype = 1 , a = None , b = None , xtol = 1e-14 , badvalue = None , name = None , longname = None , shapes = None , seed = None ) Members
Summary
A triangular continuous random variable.
Extended Summary
%(before_notes)s
Notes
The triangular distribution can be represented with an up-sloping line from loc to (loc + c*scale) and then downsloping for (loc + c*scale) to (loc + scale).
triang takes c as a shape parameter for .
%(after_notes)s
The standard form is in the range [0, 1] with c the mode. The location parameter shifts the start to loc. The scale parameter changes the width from 1 to scale.
%(example)s
Aliases
-
scipy.stats._continuous_distns.triang_gen