Beispiel #1
0
 def _entropy(self, c):
     if (c < 0):
         return 1 - c
     else:
         self.b = 1.0 / c
         return rv_continuous._entropy(self, c)
Beispiel #2
0
 def _entropy(self, c):
     if (c < 0):
         return 1-c
     else:
         self.b = 1.0 / c
         return rv_continuous._entropy(self, c)