libtbx.math_utils
index
/net/chevy/raid1/rwgk/dist/cctbx_project/libtbx/math_utils.py

 
Modules
       
math

 
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)
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)