phystricks
Classes | Namespaces | Functions
Utilities.py File Reference

Classes

class  phystricks.src.Utilities.ConversionAngles
 
class  phystricks.src.Utilities.degreeUnit
 
class  phystricks.src.Utilities.radianUnit
 

Namespaces

 phystricks.src.Utilities
 

Functions

def phystricks.src.Utilities.is_real (z)
 
def phystricks.src.Utilities.test_imaginary_part (z, epsilon=0.0001)
 
def phystricks.src.Utilities.test_imaginary_part_point (P, epsilon=0.0001)
 
def phystricks.src.Utilities.distance_sq (P, Q, numerical=False)
 return the squared distance between P and Q More...
 
def phystricks.src.Utilities.distance (P, Q)
 
def phystricks.src.Utilities.inner_product (v, w, numerical=False)
 Return the inner product of vectors v and w More...
 
def phystricks.src.Utilities.Intersection (f, g, a=None, b=None, numerical=False)
 When f and g are objects with an attribute equation, return the list of points of intersections. More...
 
def phystricks.src.Utilities.point_to_box_intersection (P, box, pspict=None)
 The intersection between the line from the given point and the center of the given box. More...
 
def phystricks.src.Utilities.PointToPolaire (P=None, x=None, y=None, origin=None, numerical=True)
 
def phystricks.src.Utilities.EnsurephyFunction (f)
 
def phystricks.src.Utilities.EnsureParametricCurve (curve)
 
def phystricks.src.Utilities.check_too_large (obj, pspict=None)
 
def phystricks.src.Utilities.general_function_get_point (fun, x, advised=True)
 
def phystricks.src.Utilities.latinize (word)
 
def phystricks.src.Utilities.counterName ()
 
def phystricks.src.Utilities.newlengthName ()
 
def phystricks.src.Utilities.sublist (l, condition)
 
def phystricks.src.Utilities.make_psp_list (pspict, pspicts)
 
def phystricks.src.Utilities.no_symbol (arg)
 
def phystricks.src.Utilities.get_equal_lengths_code (s1, s2, n=1, d=0.1, l=0.1, angle=45, pspict=None, pspicts=None)
 
def phystricks.src.Utilities.put_equal_lengths_code (s1, s2, n=1, d=0.1, l=0.1, angle=45, pspict=None, pspicts=None)
 
def phystricks.src.Utilities.number_to_string (x, digits)
 turn the given number into a string with some conversion and approximations rules. More...