| 
             Homogenous transforms 
            Rotate a vector of xyf elements by 1 radian around 
            the point (5,0). For efficiency, the three transformation matrices 
            are concatenated into one before post-multiplying the vector elements. 
            (Of course, ~xlatf(-5,0) is the same as xlat(5,0)): 
            import arrlib as arr
v = arr.xyfVec(10)
for i in range(10): v[i] = i,0
w = v * (arr.xlatf(-5,0)*arr.rotf(1.0)*~arr.xlatf(-5,0)) 
            
             
             
           |