libtbx.math_utils
index
/net/chevy/raid1/nat/src/cctbx_project/libtbx/math_utils.py

 
Modules
       
math

 
Classes
       
__builtin__.object
nested_loop

 
class nested_loop(__builtin__.object)
     Methods defined here:
__init__(O, end, begin=None, open_range=True)
__iter__(O)
next(O)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
are_equivalent(p, q)
does p <=> q in the sense of logical equivalence?
does_imply(p, q)
does p => q in the sense of logical implication?
iceil(x)
ifloor(x)
iround(x)
nearest_integer(x)
next_permutation(seq)
Emulation of C++ std::next_permutation:
Treats all permutations of seq as a set of "dictionary" sorted
sequences. Permutes the current sequence into the next one of this set.
Returns true if there are more sequences to generate. If the sequence
is the largest of the set, the smallest is generated and false returned.
normalize_angle(phi, deg=False, zero_centered=False)
percentile_based_spread(values, pbs_fraction=0.608)
See Pozharski (2010) Acta. Cryst. D66, 970-978.  The default value of the
pbs_fraction parameter is for 3D geometries, and should be adjusted as
circumstances dictate.
prime_factors_of(n)
http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata
random_permutation_in_place(list)

 
Data
        division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)