@@ -87,7 +87,7 @@ class UniformRV(RandomVariable):
87
87
ndim_supp = 0
88
88
ndims_params = [0 , 0 ]
89
89
dtype = "floatX"
90
- _print_name = ("U " , "\\ operatorname{U }" )
90
+ _print_name = ("Uniform " , "\\ operatorname{Uniform }" )
91
91
92
92
def __call__ (self , low = 0.0 , high = 1.0 , size = None , ** kwargs ):
93
93
r"""Draw samples from a uniform distribution.
@@ -141,7 +141,7 @@ class TriangularRV(RandomVariable):
141
141
ndim_supp = 0
142
142
ndims_params = [0 , 0 , 0 ]
143
143
dtype = "floatX"
144
- _print_name = ("Triang " , "\\ operatorname{Triang }" )
144
+ _print_name = ("Triangular " , "\\ operatorname{Triangular }" )
145
145
146
146
def __call__ (self , left , mode , right , size = None , ** kwargs ):
147
147
r"""Draw samples from a triangular distribution.
@@ -242,7 +242,7 @@ class NormalRV(RandomVariable):
242
242
ndim_supp = 0
243
243
ndims_params = [0 , 0 ]
244
244
dtype = "floatX"
245
- _print_name = ("N " , "\\ operatorname{N }" )
245
+ _print_name = ("Normal " , "\\ operatorname{Normal }" )
246
246
247
247
def __call__ (self , loc = 0.0 , scale = 1.0 , size = None , ** kwargs ):
248
248
r"""Draw samples from a normal distribution.
@@ -322,7 +322,7 @@ class HalfNormalRV(ScipyRandomVariable):
322
322
ndim_supp = 0
323
323
ndims_params = [0 , 0 ]
324
324
dtype = "floatX"
325
- _print_name = ("N**+ " , "\\ operatorname{N^{+} }" )
325
+ _print_name = ("HalfNormal " , "\\ operatorname{HalfNormal }" )
326
326
327
327
def __call__ (self , loc = 0.0 , scale = 1.0 , size = None , ** kwargs ):
328
328
r"""Draw samples from a half-normal distribution.
@@ -387,7 +387,7 @@ class LogNormalRV(RandomVariable):
387
387
ndim_supp = 0
388
388
ndims_params = [0 , 0 ]
389
389
dtype = "floatX"
390
- _print_name = ("LogN " , "\\ operatorname{LogN }" )
390
+ _print_name = ("LogNormal " , "\\ operatorname{LogNormal }" )
391
391
392
392
def __call__ (self , mean = 0.0 , sigma = 1.0 , size = None , ** kwargs ):
393
393
r"""Draw sample from a lognormal distribution.
@@ -651,7 +651,7 @@ class ExponentialRV(RandomVariable):
651
651
ndim_supp = 0
652
652
ndims_params = [0 ]
653
653
dtype = "floatX"
654
- _print_name = ("Exp " , "\\ operatorname{Exp }" )
654
+ _print_name = ("Exponential " , "\\ operatorname{Exponential }" )
655
655
656
656
def __call__ (self , scale = 1.0 , size = None , ** kwargs ):
657
657
r"""Draw samples from an exponential distribution.
@@ -853,7 +853,7 @@ class MvNormalRV(RandomVariable):
853
853
ndim_supp = 1
854
854
ndims_params = [1 , 2 ]
855
855
dtype = "floatX"
856
- _print_name = ("N " , "\\ operatorname{N }" )
856
+ _print_name = ("MultivariateNormal " , "\\ operatorname{MultivariateNormal }" )
857
857
858
858
def __call__ (self , mean = None , cov = None , size = None , ** kwargs ):
859
859
r""" "Draw samples from a multivariate normal distribution.
@@ -931,7 +931,7 @@ class DirichletRV(RandomVariable):
931
931
ndim_supp = 1
932
932
ndims_params = [1 ]
933
933
dtype = "floatX"
934
- _print_name = ("Dir " , "\\ operatorname{Dir }" )
934
+ _print_name = ("Dirichlet " , "\\ operatorname{Dirichlet }" )
935
935
936
936
def __call__ (self , alphas , size = None , ** kwargs ):
937
937
r"""Draw samples from a dirichlet distribution.
@@ -996,7 +996,7 @@ class PoissonRV(RandomVariable):
996
996
ndim_supp = 0
997
997
ndims_params = [0 ]
998
998
dtype = "int64"
999
- _print_name = ("Pois " , "\\ operatorname{Pois }" )
999
+ _print_name = ("Poisson " , "\\ operatorname{Poisson }" )
1000
1000
1001
1001
def __call__ (self , lam = 1.0 , size = None , ** kwargs ):
1002
1002
r"""Draw samples from a poisson distribution.
@@ -1041,7 +1041,7 @@ class GeometricRV(RandomVariable):
1041
1041
ndim_supp = 0
1042
1042
ndims_params = [0 ]
1043
1043
dtype = "int64"
1044
- _print_name = ("Geom " , "\\ operatorname{Geom }" )
1044
+ _print_name = ("Geometric " , "\\ operatorname{Geometric }" )
1045
1045
1046
1046
def __call__ (self , p , size = None , ** kwargs ):
1047
1047
r"""Draw samples from a geometric distribution.
@@ -1083,7 +1083,7 @@ class HyperGeometricRV(RandomVariable):
1083
1083
ndim_supp = 0
1084
1084
ndims_params = [0 , 0 , 0 ]
1085
1085
dtype = "int64"
1086
- _print_name = ("HyperGeom " , "\\ operatorname{HyperGeom }" )
1086
+ _print_name = ("HyperGeometric " , "\\ operatorname{HyperGeometric }" )
1087
1087
1088
1088
def __call__ (self , ngood , nbad , nsample , size = None , ** kwargs ):
1089
1089
r"""Draw samples from a geometric distribution.
@@ -1131,7 +1131,7 @@ class CauchyRV(ScipyRandomVariable):
1131
1131
ndim_supp = 0
1132
1132
ndims_params = [0 , 0 ]
1133
1133
dtype = "floatX"
1134
- _print_name = ("C " , "\\ operatorname{C }" )
1134
+ _print_name = ("Cauchy " , "\\ operatorname{Cauchy }" )
1135
1135
1136
1136
def __call__ (self , loc = 0.0 , scale = 1.0 , size = None , ** kwargs ):
1137
1137
r"""Draw samples from a Cauchy distribution.
@@ -1181,7 +1181,7 @@ class HalfCauchyRV(ScipyRandomVariable):
1181
1181
ndim_supp = 0
1182
1182
ndims_params = [0 , 0 ]
1183
1183
dtype = "floatX"
1184
- _print_name = ("C**+ " , "\\ operatorname{C^{+} }" )
1184
+ _print_name = ("HalfCauchy " , "\\ operatorname{HalfCauchy }" )
1185
1185
1186
1186
def __call__ (self , loc = 0.0 , scale = 1.0 , size = None , ** kwargs ):
1187
1187
r"""Draw samples from a half-Cauchy distribution.
@@ -1235,7 +1235,7 @@ class InvGammaRV(ScipyRandomVariable):
1235
1235
ndim_supp = 0
1236
1236
ndims_params = [0 , 0 ]
1237
1237
dtype = "floatX"
1238
- _print_name = ("InvGamma " , "\\ operatorname{Gamma^{-1} }" )
1238
+ _print_name = ("InverseGamma " , "\\ operatorname{InverseGamma }" )
1239
1239
1240
1240
def __call__ (self , shape , scale , size = None , ** kwargs ):
1241
1241
r"""Draw samples from an inverse-gamma distribution.
@@ -1332,7 +1332,7 @@ class TruncExponentialRV(ScipyRandomVariable):
1332
1332
ndim_supp = 0
1333
1333
ndims_params = [0 , 0 , 0 ]
1334
1334
dtype = "floatX"
1335
- _print_name = ("TruncExp " , "\\ operatorname{TruncExp }" )
1335
+ _print_name = ("TruncatedExponential " , "\\ operatorname{TruncatedExponential }" )
1336
1336
1337
1337
def __call__ (self , b , loc = 0.0 , scale = 1.0 , size = None , ** kwargs ):
1338
1338
r"""Draw samples from a truncated exponential distribution.
@@ -1446,7 +1446,7 @@ class BernoulliRV(ScipyRandomVariable):
1446
1446
ndim_supp = 0
1447
1447
ndims_params = [0 ]
1448
1448
dtype = "int64"
1449
- _print_name = ("Bern " , "\\ operatorname{Bern }" )
1449
+ _print_name = ("Bernoulli " , "\\ operatorname{Bernoulli }" )
1450
1450
1451
1451
def __call__ (self , p , size = None , ** kwargs ):
1452
1452
r"""Draw samples from a Bernoulli distribution.
@@ -1539,7 +1539,7 @@ class BinomialRV(RandomVariable):
1539
1539
ndim_supp = 0
1540
1540
ndims_params = [0 , 0 ]
1541
1541
dtype = "int64"
1542
- _print_name = ("Binom " , "\\ operatorname{Binom }" )
1542
+ _print_name = ("Binomial " , "\\ operatorname{Binomial }" )
1543
1543
1544
1544
def __call__ (self , n , p , size = None , ** kwargs ):
1545
1545
r"""Draw samples from a binomial distribution.
@@ -1583,7 +1583,7 @@ class NegBinomialRV(ScipyRandomVariable):
1583
1583
ndim_supp = 0
1584
1584
ndims_params = [0 , 0 ]
1585
1585
dtype = "int64"
1586
- _print_name = ("NB " , "\\ operatorname{NB }" )
1586
+ _print_name = ("NegativeBinomial " , "\\ operatorname{NegativeBinomial }" )
1587
1587
1588
1588
def __call__ (self , n , p , size = None , ** kwargs ):
1589
1589
r"""Draw samples from a negative binomial distribution.
@@ -1638,7 +1638,7 @@ class BetaBinomialRV(ScipyRandomVariable):
1638
1638
ndim_supp = 0
1639
1639
ndims_params = [0 , 0 , 0 ]
1640
1640
dtype = "int64"
1641
- _print_name = ("BetaBinom " , "\\ operatorname{BetaBinom }" )
1641
+ _print_name = ("BetaBinomial " , "\\ operatorname{BetaBinomial }" )
1642
1642
1643
1643
def __call__ (self , n , a , b , size = None , ** kwargs ):
1644
1644
r"""Draw samples from a beta-binomial distribution.
@@ -1689,7 +1689,7 @@ class GenGammaRV(ScipyRandomVariable):
1689
1689
ndim_supp = 0
1690
1690
ndims_params = [0 , 0 , 0 ]
1691
1691
dtype = "floatX"
1692
- _print_name = ("GG " , "\\ operatorname{GG }" )
1692
+ _print_name = ("GeneralizedGamma " , "\\ operatorname{GeneralizedGamma }" )
1693
1693
1694
1694
def __call__ (self , alpha = 1.0 , p = 1.0 , lambd = 1.0 , size = None , ** kwargs ):
1695
1695
r"""Draw samples from a generalized gamma distribution.
@@ -1751,7 +1751,7 @@ class MultinomialRV(RandomVariable):
1751
1751
ndim_supp = 1
1752
1752
ndims_params = [0 , 1 ]
1753
1753
dtype = "int64"
1754
- _print_name = ("MN " , "\\ operatorname{MN }" )
1754
+ _print_name = ("Multinomial " , "\\ operatorname{Multinomial }" )
1755
1755
1756
1756
def __call__ (self , n , p , size = None , ** kwargs ):
1757
1757
r"""Draw samples from a discrete multinomial distribution.
@@ -1823,7 +1823,7 @@ class CategoricalRV(RandomVariable):
1823
1823
ndim_supp = 0
1824
1824
ndims_params = [1 ]
1825
1825
dtype = "int64"
1826
- _print_name = ("Cat " , "\\ operatorname{Cat }" )
1826
+ _print_name = ("Categorical " , "\\ operatorname{Categorical }" )
1827
1827
1828
1828
def __call__ (self , p , size = None , ** kwargs ):
1829
1829
r"""Draw samples from a discrete categorical distribution.
0 commit comments