- Timestamp:
- 02/06/16 08:28:35 (3 months ago)
- Location:
- mystic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
mystic/_math/measures.py
r855 r856 142 142 return ssum * inf # protect against ZeroDivision 143 143 144 def support_index(weights, tol=0): 144 def support_index(weights, tol=0): #XXX: no relative tolerance near zero 145 145 """get the indicies of the positions which have non-zero weight 146 146 … … 151 151 return [i for (i,w) in enumerate(weights) if w > tol] 152 152 153 def support(samples, weights, tol=0): 153 def support(samples, weights, tol=0): #XXX: no relative tolerance near zero 154 154 """get the positions which have non-zero weight 155 155 -
mystic/setup.py
r855 r856 157 157 - numpy, version >= 1.0 158 158 - sympy, version >= 0.6.7 159 - dill, version >= 0.2. 4159 - dill, version >= 0.2.5 160 160 - klepto, version >= 0.1.1 161 161 … … 309 309 numpy_version = '>=1.0' 310 310 sympy_version = '>=0.6.7'#, <0.7.4' 311 dill_version = '>=0.2. 4'311 dill_version = '>=0.2.5' 312 312 klepto_version = '>=0.1.1' 313 313 scipy_version = '>=0.6.0'
Note: See TracChangeset
for help on using the changeset viewer.